home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 October / Macformat17.cdr / Shareware City / Applications / WaveTrak™ folder / WaveTrak™ 1.4 < prev    next >
MacBinary  |  1994-07-11  |  567.8 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, busy, Mon Jul 11 15:07:42 1994, modified Mon Jul 11 15:07:42 1994, creator HyperCard, type HyperCard stack, 287552 bytes "WaveTrak� 1.4" , at 0x463c0 293534 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
50% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 57 61 76 65 54 72 | 61 6b aa 20 31 2e 34 00 |..WaveTr|ak. 1.4.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 04 63 40 00 | 04 7a 9e aa 47 48 fe aa |.....c@.|.z..GH..|
|00000060| 47 48 fe 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |GH......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c9 fb 00 00 |........|........|
|00000080| 00 00 56 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..V.STAK|........|
|00000090| 00 00 00 0a 00 04 63 40 | 00 00 56 00 00 00 00 00 |......c@|..V.....|
|000000a0| 00 00 00 00 00 00 00 05 | 00 00 0a 6e 00 00 00 11 |........|...n....|
|000000b0| 00 00 32 9e 00 00 0b b6 | 00 00 00 00 00 00 00 00 |..2.....|........|
|000000c0| 00 00 0f e8 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| 99 3e c4 1c 00 00 00 00 | 00 26 00 00 01 ae 02 80 |.>......|.&......|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d eb 00 00 0c 3d | 01 88 02 80 00 00 00 00 |.......=|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 33 66 cc 99 33 66 cc 99 |."."."."|3f..3f..|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 57 61 76 65 54 | 72 61 6b aa 20 4d 61 73 |-- WaveT|rak. Mas|
|00000690| 74 65 72 20 53 74 61 63 | 6b 0d 2d 2d 20 56 65 72 |ter Stac|k.-- Ver|
|000006a0| 73 69 6f 6e 20 31 2e 33 | 0d 0d 2d 2d 20 57 61 76 |sion 1.3|..-- Wav|
|000006b0| 65 54 72 61 6b 20 69 73 | 20 61 20 74 72 61 64 65 |eTrak is| a trade|
|000006c0| 6d 61 72 6b 20 6f 66 20 | 4f 72 74 65 78 20 53 79 |mark of |Ortex Sy|
|000006d0| 73 74 65 6d 73 20 49 6e | 63 2e 0d 2d 2d 20 43 6f |stems In|c..-- Co|
|000006e0| 70 79 72 69 67 68 74 20 | a9 20 31 39 39 31 2d 31 |pyright |. 1991-1|
|000006f0| 39 39 33 20 4f 72 74 65 | 78 20 53 79 73 74 65 6d |993 Orte|x System|
|00000700| 73 20 49 6e 63 2e 20 20 | 41 6c 6c 20 72 69 67 68 |s Inc. |All righ|
|00000710| 74 73 20 72 65 73 65 72 | 76 65 64 2e 0d 0d 6f 6e |ts reser|ved...on|
|00000720| 20 6f 70 65 6e 53 74 61 | 63 6b 0d 2d 2d 20 64 65 | openSta|ck.-- de|
|00000730| 63 6c 61 72 65 20 67 6c | 6f 62 61 6c 73 0d 67 6c |clare gl|obals.gl|
|00000740| 6f 62 61 6c 20 77 30 2c | 77 31 2c 77 32 2c 77 33 |obal w0,|w1,w2,w3|
|00000750| 2c 77 34 2c 77 35 2c 77 | 36 2c 77 37 2c 77 38 2c |,w4,w5,w|6,w7,w8,|
|00000760| 77 39 2c 77 31 30 2c 77 | 31 31 2c 77 31 32 2c 77 |w9,w10,w|11,w12,w|
|00000770| 31 33 2c 77 31 34 2c 77 | 31 35 0d 67 6c 6f 62 61 |13,w14,w|15.globa|
|00000780| 6c 20 73 68 69 66 74 54 | 72 61 63 65 53 74 65 70 |l shiftT|raceStep|
|00000790| 0d 67 6c 6f 62 61 6c 20 | 64 6f 74 46 6c 61 67 2c |.global |dotFlag,|
|000007a0| 64 69 73 70 52 65 63 74 | 0d 67 6c 6f 62 61 6c 20 |dispRect|.global |
|000007b0| 58 43 4d 44 45 72 72 0d | 67 6c 6f 62 61 6c 20 48 |XCMDErr.|global H|
|000007c0| 61 72 64 77 61 72 65 4f | 4b 0d 67 6c 6f 62 61 6c |ardwareO|K.global|
|000007d0| 20 6f 70 65 6e 65 64 4f | 6e 63 65 0d 67 6c 6f 62 | openedO|nce.glob|
|000007e0| 61 6c 20 41 44 43 62 69 | 74 73 2c 46 53 54 61 62 |al ADCbi|ts,FSTab|
|000007f0| 6c 65 0d 67 6c 6f 62 61 | 6c 20 44 41 43 62 69 74 |le.globa|l DACbit|
|00000800| 73 2c 44 41 43 6d 69 6e | 2c 44 41 43 6d 61 78 2c |s,DACmin|,DACmax,|
|00000810| 44 41 43 47 61 69 6e 54 | 61 62 6c 65 0d 67 6c 6f |DACGainT|able.glo|
|00000820| 62 61 6c 20 58 59 43 6f | 6f 72 64 58 66 6f 72 6d |bal XYCo|ordXform|
|00000830| 61 74 2c 58 59 43 6f 6f | 72 64 59 66 6f 72 6d 61 |at,XYCoo|rdYforma|
|00000840| 74 0d 67 6c 6f 62 61 6c | 20 6d 61 78 50 6c 6f 74 |t.global| maxPlot|
|00000850| 50 6f 69 6e 74 73 0d 67 | 6c 6f 62 61 6c 20 48 61 |Points.g|lobal Ha|
|00000860| 72 64 44 69 73 6b 4e 61 | 6d 65 0d 67 6c 6f 62 61 |rdDiskNa|me.globa|
|00000870| 6c 20 78 4d 61 67 2c 79 | 4d 61 67 0d 67 6c 6f 62 |l xMag,y|Mag.glob|
|00000880| 61 6c 20 74 68 65 57 61 | 76 65 2c 6c 65 66 74 58 |al theWa|ve,leftX|
|00000890| 2c 20 72 69 67 68 74 58 | 2c 20 74 6f 70 59 2c 20 |, rightX|, topY, |
|000008a0| 62 6f 74 74 6f 6d 59 2c | 20 58 75 6e 69 74 2c 20 |bottomY,| Xunit, |
|000008b0| 59 75 6e 69 74 20 2d 2d | 20 64 65 73 63 72 69 70 |Yunit --| descrip|
|000008c0| 74 6f 72 73 0d 67 6c 6f | 62 61 6c 20 66 4c 6f 2c |tors.glo|bal fLo,|
|000008d0| 66 48 69 2c 66 33 64 42 | 2c 72 6f 6c 6c 6f 66 66 |fHi,f3dB|,rolloff|
|000008e0| 20 20 2d 2d 20 64 69 67 | 69 74 61 6c 20 66 69 6c | -- dig|ital fil|
|000008f0| 74 65 72 20 70 61 72 61 | 6d 73 0d 67 6c 6f 62 61 |ter para|ms.globa|
|00000900| 6c 20 6d 6f 75 73 65 49 | 6e 53 52 61 74 65 42 75 |l mouseI|nSRateBu|
|00000910| 74 74 6f 6e 20 20 2d 2d | 20 75 73 65 64 20 69 6e |tton --| used in|
|00000920| 20 53 63 6f 70 65 20 63 | 61 72 64 0d 0d 73 65 74 | Scope c|ard..set|
|00000930| 20 74 68 65 20 75 73 65 | 72 4c 65 76 65 6c 20 74 | the use|rLevel t|
|00000940| 6f 20 35 20 2d 2d 20 20 | 61 6c 6c 6f 77 20 61 63 |o 5 -- |allow ac|
|00000950| 63 65 73 73 20 74 6f 20 | 61 6c 6c 20 6f 62 6a 65 |cess to |all obje|
|00000960| 63 74 73 20 26 20 73 63 | 72 69 70 74 69 6e 67 0d |cts & sc|ripting.|
|00000970| 0d 69 66 20 6f 70 65 6e | 65 64 4f 6e 63 65 20 69 |.if open|edOnce i|
|00000980| 73 20 6e 6f 74 20 74 72 | 75 65 20 74 68 65 6e 20 |s not tr|ue then |
|00000990| 20 2d 2d 20 64 6f 20 74 | 68 69 73 20 6f 6e 6c 79 | -- do t|his only|
|000009a0| 20 6f 6e 63 65 0d 0d 68 | 69 64 65 20 6d 73 67 0d | once..h|ide msg.|
|000009b0| 70 69 63 74 75 72 65 20 | 32 33 39 38 39 2c 72 65 |picture |23989,re|
|000009c0| 73 6f 75 72 63 65 2c 72 | 65 63 74 2c 74 72 75 65 |source,r|ect,true|
|000009d0| 2c 30 0d 0d 2d 2d 20 69 | 6e 69 74 69 61 6c 69 7a |,0..-- i|nitializ|
|000009e0| 65 20 67 6c 6f 62 61 6c | 73 3a 20 63 68 61 6e 67 |e global|s: chang|
|000009f0| 65 20 74 68 65 73 65 20 | 74 6f 20 63 75 73 74 6f |e these |to custo|
|00000a00| 6d 69 7a 65 20 79 6f 75 | 72 20 73 74 61 63 6b 0d |mize you|r stack.|
|00000a10| 70 75 74 20 22 25 2e 30 | 66 22 20 69 6e 74 6f 20 |put "%.0|f" into |
|00000a20| 58 59 43 6f 6f 72 64 58 | 66 6f 72 6d 61 74 0d 70 |XYCoordX|format.p|
|00000a30| 75 74 20 22 25 2e 31 66 | 22 20 69 6e 74 6f 20 58 |ut "%.1f|" into X|
|00000a40| 59 43 6f 6f 72 64 59 66 | 6f 72 6d 61 74 0d 70 75 |YCoordYf|ormat.pu|
|00000a50| 74 20 35 30 30 20 69 6e | 74 6f 20 6d 61 78 50 6c |t 500 in|to maxPl|
|00000a60| 6f 74 50 6f 69 6e 74 73 | 0d 70 75 74 20 46 41 4c |otPoints|.put FAL|
|00000a70| 53 45 20 69 6e 74 6f 20 | 64 6f 74 46 6c 61 67 0d |SE into |dotFlag.|
|00000a80| 70 75 74 20 46 41 4c 53 | 45 20 69 6e 74 6f 20 6d |put FALS|E into m|
|00000a90| 6f 75 73 65 49 6e 53 52 | 61 74 65 42 75 74 74 6f |ouseInSR|ateButto|
|00000aa0| 6e 0d 70 75 74 20 31 30 | 20 69 6e 74 6f 20 73 68 |n.put 10| into sh|
|00000ab0| 69 66 74 54 72 61 63 65 | 53 74 65 70 0d 70 75 74 |iftTrace|Step.put|
|00000ac0| 20 32 2e 30 20 69 6e 74 | 6f 20 78 4d 61 67 20 20 | 2.0 int|o xMag |
|00000ad0| 2d 2d 20 32 2e 30 0d 70 | 75 74 20 32 2e 30 20 69 |-- 2.0.p|ut 2.0 i|
|00000ae0| 6e 74 6f 20 79 4d 61 67 | 20 20 2d 2d 20 32 2e 30 |nto yMag| -- 2.0|
|00000af0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00000b00| 74 68 65 57 61 76 65 0d | 0d 73 65 6e 64 20 55 70 |theWave.|.send Up|
|00000b10| 64 61 74 65 41 63 71 50 | 61 72 61 6d 73 20 74 6f |dateAcqP|arams to|
|00000b20| 20 63 64 20 22 53 63 6f | 70 65 22 20 2d 2d 20 69 | cd "Sco|pe" -- i|
|00000b30| 6e 63 6c 75 64 65 73 20 | 55 70 64 61 74 65 53 79 |ncludes |UpdateSy|
|00000b40| 73 50 61 72 61 6d 73 0d | 0d 67 65 74 20 73 68 6f |sParams.|.get sho|
|00000b50| 72 74 20 69 64 20 6f 66 | 20 63 61 72 64 20 22 48 |rt id of| card "H|
|00000b60| 6f 6d 65 43 61 72 64 22 | 0d 70 75 74 20 69 74 20 |omeCard"|.put it |
|00000b70| 69 6e 74 6f 20 6c 69 6e | 65 20 31 20 6f 66 20 63 |into lin|e 1 of c|
|00000b80| 61 72 64 20 66 69 65 6c | 64 20 22 72 6f 6f 74 4c |ard fiel|d "rootL|
|00000b90| 69 73 74 22 20 6f 66 20 | 63 61 72 64 20 22 48 6f |ist" of |card "Ho|
|00000ba0| 6d 65 43 61 72 64 22 0d | 0d 2d 2d 20 67 65 74 20 |meCard".|.-- get |
|00000bb0| 74 68 65 20 70 61 74 68 | 20 6e 61 6d 65 2c 20 66 |the path| name, f|
|00000bc0| 6f 72 20 66 69 6c 65 20 | 77 72 69 74 65 73 0d 67 |or file |writes.g|
|00000bd0| 65 74 20 74 68 65 20 6c | 6f 6e 67 20 6e 61 6d 65 |et the l|ong name|
|00000be0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 0d 70 | of this| stack.p|
|00000bf0| 75 74 20 69 74 20 69 6e | 74 6f 20 53 4e 61 6d 65 |ut it in|to SName|
|00000c00| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 6a 3d 74 |.repeat |with j=t|
|00000c10| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 68 61 |he numbe|r of cha|
|00000c20| 72 73 20 69 6e 20 53 4e | 61 6d 65 20 64 6f 77 6e |rs in SN|ame down|
|00000c30| 20 74 6f 20 31 0d 67 65 | 74 20 63 68 61 72 20 6a | to 1.ge|t char j|
|00000c40| 20 69 6e 20 53 4e 61 6d | 65 0d 69 66 20 20 69 74 | in SNam|e.if it|
|00000c50| 20 3d 20 22 3a 22 20 74 | 68 65 6e 20 65 78 69 74 | = ":" t|hen exit|
|00000c60| 20 72 65 70 65 61 74 0d | 65 6e 64 20 72 65 70 65 | repeat.|end repe|
|00000c70| 61 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |at.repea|t with i|
|00000c80| 3d 6a 20 64 6f 77 6e 20 | 74 6f 20 31 0d 67 65 74 |=j down |to 1.get|
|00000c90| 20 63 68 61 72 20 69 20 | 69 6e 20 53 4e 61 6d 65 | char i |in SName|
|00000ca0| 0d 69 66 20 20 69 74 20 | 3d 20 71 75 6f 74 65 20 |.if it |= quote |
|00000cb0| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 65 61 74 |then exi|t repeat|
|00000cc0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 70 75 74 20 |.end rep|eat.put |
|00000cd0| 63 68 61 72 20 69 2b 31 | 20 74 6f 20 6a 20 6f 66 |char i+1| to j of|
|00000ce0| 20 53 4e 61 6d 65 20 69 | 6e 74 6f 20 48 61 72 64 | SName i|nto Hard|
|00000cf0| 44 69 73 6b 4e 61 6d 65 | 20 2d 2d 20 73 74 6f 72 |DiskName| -- stor|
|00000d00| 65 20 69 74 20 69 6e 20 | 61 20 67 6c 6f 62 61 6c |e it in |a global|
|00000d10| 0d 0d 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |...if th|ere is a|
|00000d20| 20 73 74 61 63 6b 20 22 | 57 54 52 4b 20 44 53 50 | stack "|WTRK DSP|
|00000d30| 20 4c 69 62 22 20 74 68 | 65 6e 20 73 74 61 72 74 | Lib" th|en start|
|00000d40| 20 75 73 69 6e 67 20 73 | 74 61 63 6b 20 22 57 54 | using s|tack "WT|
|00000d50| 52 4b 20 44 53 50 20 4c | 69 62 22 0d 0d 0d 70 75 |RK DSP L|ib"...pu|
|00000d60| 74 20 46 41 4c 53 45 20 | 69 6e 74 6f 20 48 61 72 |t FALSE |into Har|
|00000d70| 64 77 61 72 65 4f 4b 0d | 0d 69 66 20 28 74 68 65 |dwareOK.|.if (the|
|00000d80| 20 6f 70 74 69 6f 6e 4b | 65 79 20 69 73 20 6e 6f | optionK|ey is no|
|00000d90| 74 20 64 6f 77 6e 29 20 | 61 6e 64 c2 0d 28 74 68 |t down) |and..(th|
|00000da0| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 63 64 20 62 |e hilite| of cd b|
|00000db0| 75 74 74 6f 6e 20 22 48 | 61 72 64 77 61 72 65 20 |utton "H|ardware |
|00000dc0| 4c 6f 63 6b 6f 75 74 22 | 20 69 6e 20 63 64 20 22 |Lockout"| in cd "|
|00000dd0| 53 79 73 50 61 72 61 6d | 73 22 20 69 73 20 46 41 |SysParam|s" is FA|
|00000de0| 4c 53 45 29 20 74 68 65 | 6e 0d 67 65 74 20 63 61 |LSE) the|n.get ca|
|00000df0| 72 64 20 66 69 65 6c 64 | 20 22 73 6c 6f 74 41 64 |rd field| "slotAd|
|00000e00| 64 72 46 69 65 6c 64 22 | 20 69 6e 20 63 61 72 64 |drField"| in card|
|00000e10| 20 22 73 6c 6f 74 41 64 | 64 72 65 73 73 4d 61 70 | "slotAd|dressMap|
|00000e20| 22 0d 48 61 72 64 77 61 | 72 65 49 6e 69 74 20 69 |".Hardwa|reInit i|
|00000e30| 74 0d 69 66 20 58 43 4d | 44 45 72 72 3d 30 20 74 |t.if XCM|DErr=0 t|
|00000e40| 68 65 6e 20 20 2d 2d 20 | 68 61 72 64 77 61 72 65 |hen -- |hardware|
|00000e50| 20 4f 4b 2c 20 41 2f 44 | 20 4c 69 62 20 69 6e 73 | OK, A/D| Lib ins|
|00000e60| 74 61 6c 6c 65 64 0d 70 | 75 74 20 54 52 55 45 20 |talled.p|ut TRUE |
|00000e70| 69 6e 74 6f 20 48 61 72 | 64 77 61 72 65 4f 4b 0d |into Har|dwareOK.|
|00000e80| 73 74 61 72 74 20 75 73 | 69 6e 67 20 73 74 61 63 |start us|ing stac|
|00000e90| 6b 20 22 57 54 52 4b 20 | 41 2f 44 20 4c 69 62 22 |k "WTRK |A/D Lib"|
|00000ea0| 0d 2d 2d 20 69 6e 69 74 | 69 61 6c 69 7a 65 20 68 |.-- init|ialize h|
|00000eb0| 61 72 64 77 61 72 65 20 | 6f 6e 20 73 74 61 72 74 |ardware |on start|
|00000ec0| 75 70 0d 2d 2d 20 63 6c | 65 61 72 20 44 41 43 73 |up.-- cl|ear DACs|
|00000ed0| 0d 57 72 69 74 65 44 41 | 43 20 30 2c 30 0d 57 72 |.WriteDA|C 0,0.Wr|
|00000ee0| 69 74 65 44 41 43 20 31 | 2c 30 0d 2d 2d 20 63 6c |iteDAC 1|,0.-- cl|
|00000ef0| 65 61 72 20 54 54 4c 20 | 6f 75 74 70 75 74 20 70 |ear TTL |output p|
|00000f00| 6f 72 74 0d 57 72 69 74 | 65 54 54 4c 62 79 74 65 |ort.Writ|eTTLbyte|
|00000f10| 20 30 0d 2d 2d 20 73 65 | 74 20 64 65 66 61 75 6c | 0.-- se|t defaul|
|00000f20| 74 20 6f 6e 2d 62 6f 61 | 72 64 20 67 61 69 6e 20 |t on-boa|rd gain |
|00000f30| 76 69 61 20 6d 6f 64 65 | 20 72 65 67 69 73 74 65 |via mode| registe|
|00000f40| 72 0d 67 65 74 20 63 64 | 20 66 6c 64 20 22 41 2f |r.get cd| fld "A/|
|00000f50| 44 67 61 69 6e 22 20 69 | 6e 20 63 64 20 22 53 79 |Dgain" i|n cd "Sy|
|00000f60| 73 50 61 72 61 6d 73 22 | 0d 53 65 74 41 44 47 61 |sParams"|.SetADGa|
|00000f70| 69 6e 20 69 74 0d 65 6e | 64 20 69 66 20 20 2d 2d |in it.en|d if --|
|00000f80| 20 69 66 20 58 43 4d 44 | 45 72 72 3d 30 20 74 68 | if XCMD|Err=0 th|
|00000f90| 65 6e 0d 0d 69 66 20 58 | 43 4d 44 45 72 72 3d 32 |en..if X|CMDErr=2|
|00000fa0| 36 20 74 68 65 6e 20 2d | 2d 20 6e 6f 41 44 4c 69 |6 then -|- noADLi|
|00000fb0| 62 20 65 72 72 0d 70 75 | 74 20 22 44 42 22 20 69 |b err.pu|t "DB" i|
|00000fc0| 6e 74 6f 20 63 68 61 72 | 20 31 31 20 74 6f 20 31 |nto char| 11 to 1|
|00000fd0| 32 20 6f 66 20 63 64 20 | 66 6c 64 20 22 54 69 74 |2 of cd |fld "Tit|
|00000fe0| 6c 65 46 6c 64 22 20 6f | 66 20 63 64 20 22 48 6f |leFld" o|f cd "Ho|
|00000ff0| 6d 65 43 61 72 64 22 0d | 65 6c 73 65 0d 70 75 74 |meCard".|else.put|
|00001000| 20 22 41 44 22 20 69 6e | 74 6f 20 63 68 61 72 20 | "AD" in|to char |
|00001010| 31 31 20 74 6f 20 31 32 | 20 6f 66 20 63 64 20 66 |11 to 12| of cd f|
|00001020| 6c 64 20 22 54 69 74 6c | 65 46 6c 64 22 20 6f 66 |ld "Titl|eFld" of|
|00001030| 20 63 64 20 22 48 6f 6d | 65 43 61 72 64 22 0d 65 | cd "Hom|eCard".e|
|00001040| 72 72 4e 75 6d 20 58 43 | 4d 44 45 72 72 20 2d 2d |rrNum XC|MDErr --|
|00001050| 20 72 65 70 6f 72 74 20 | 74 68 65 20 65 72 72 6f | report |the erro|
|00001060| 72 20 69 66 20 41 44 4c | 69 62 20 69 6e 73 74 61 |r if ADL|ib insta|
|00001070| 6c 6c 65 64 0d 65 6e 64 | 20 69 66 0d 0d 65 6c 73 |lled.end| if..els|
|00001080| 65 0d 70 75 74 20 34 39 | 20 69 6e 74 6f 20 58 43 |e.put 49| into XC|
|00001090| 4d 44 45 72 72 20 20 2d | 2d 20 68 61 72 64 77 61 |MDErr -|- hardwa|
|000010a0| 72 65 20 6c 6f 63 6b 6f | 75 74 20 65 72 72 6f 72 |re locko|ut error|
|000010b0| 0d 65 6e 64 20 69 66 20 | 20 2d 2d 20 69 66 20 28 |.end if | -- if (|
|000010c0| 74 68 65 20 6f 70 74 69 | 6f 6e 4b 65 79 20 69 73 |the opti|onKey is|
|000010d0| 20 64 6f 77 6e 2e 2e 2e | 29 20 74 68 65 6e 0d 65 | down...|) then.e|
|000010e0| 6e 64 20 69 66 20 20 2d | 2d 20 20 69 66 20 6f 70 |nd if -|- if op|
|000010f0| 65 6e 65 64 4f 6e 63 65 | 20 69 73 20 6e 6f 74 20 |enedOnce| is not |
|00001100| 74 72 75 65 20 74 68 65 | 6e 0d 0d 2d 2d 20 63 72 |true the|n..-- cr|
|00001110| 65 61 74 65 2f 69 6e 69 | 74 69 61 6c 69 7a 65 20 |eate/ini|tialize |
|00001120| 6d 65 6e 75 73 0d 2d 2d | 20 79 6f 75 20 63 61 6e |menus.--| you can|
|00001130| 20 61 64 64 20 6d 6f 72 | 65 20 6f 66 20 79 6f 75 | add mor|e of you|
|00001140| 72 20 6f 77 6e 20 63 75 | 73 74 6f 6d 20 6d 65 6e |r own cu|stom men|
|00001150| 75 73 20 68 65 72 65 0d | 72 65 73 65 74 20 6d 65 |us here.|reset me|
|00001160| 6e 75 62 61 72 0d 0d 63 | 72 65 61 74 65 20 6d 65 |nubar..c|reate me|
|00001170| 6e 75 20 22 41 6e 61 6c | 79 73 69 73 22 0d 63 72 |nu "Anal|ysis".cr|
|00001180| 65 61 74 65 20 6d 65 6e | 75 20 22 46 75 6e 63 74 |eate men|u "Funct|
|00001190| 69 6f 6e 73 22 0d 63 72 | 65 61 74 65 20 6d 65 6e |ions".cr|eate men|
|000011a0| 75 20 22 41 63 71 22 0d | 70 75 74 20 22 53 63 6f |u "Acq".|put "Sco|
|000011b0| 70 65 2c 2d 2c 50 61 73 | 74 65 20 58 59 2c 49 6d |pe,-,Pas|te XY,Im|
|000011c0| 70 6f 72 74 20 58 59 2c | 2d 2c 53 69 6e 67 6c 65 |port XY,|-,Single|
|000011d0| 20 41 2f 44 22 c2 0d 69 | 6e 74 6f 20 6d 65 6e 75 | A/D"..i|nto menu|
|000011e0| 20 22 41 63 71 22 20 77 | 69 74 68 20 6d 65 6e 75 | "Acq" w|ith menu|
|000011f0| 4d 73 67 c2 0d 22 67 6f | 53 63 6f 70 65 2c 2c 50 |Msg.."go|Scope,,P|
|00001200| 61 73 74 65 58 59 2c 49 | 6d 70 6f 72 74 58 59 2c |asteXY,I|mportXY,|
|00001210| 2c 53 69 6e 67 6c 65 22 | 0d 73 65 74 20 74 68 65 |,Single"|.set the|
|00001220| 20 63 6d 64 43 68 61 72 | 20 6f 66 20 6d 65 6e 75 | cmdChar| of menu|
|00001230| 69 74 65 6d 20 22 53 63 | 6f 70 65 22 20 6f 66 20 |item "Sc|ope" of |
|00001240| 6d 65 6e 75 20 22 41 63 | 71 22 20 74 6f 20 22 53 |menu "Ac|q" to "S|
|00001250| 22 0d 0d 2d 2d 20 6d 6f | 64 69 66 79 20 27 47 6f |"..-- mo|dify 'Go|
|00001260| 27 20 6d 65 6e 75 0d 70 | 75 74 20 22 2d 2c 48 6f |' menu.p|ut "-,Ho|
|00001270| 6d 65 20 43 61 72 64 2c | 42 75 74 74 6f 6e 20 42 |me Card,|Button B|
|00001280| 61 6e 6b 2c 44 69 67 69 | 74 61 6c 20 46 69 6c 74 |ank,Digi|tal Filt|
|00001290| 65 72 73 2c 53 79 73 74 | 65 6d 20 50 61 72 61 6d |ers,Syst|em Param|
|000012a0| 65 74 65 72 73 2c 53 6c | 6f 74 20 41 64 64 72 65 |eters,Sl|ot Addre|
|000012b0| 73 73 65 73 2c 2d 2c 4e | 6f 74 65 73 2c 53 75 6d |sses,-,N|otes,Sum|
|000012c0| 6d 61 72 79 20 53 74 61 | 63 6b 22 c2 0d 61 66 74 |mary Sta|ck"..aft|
|000012d0| 65 72 20 6d 65 6e 75 20 | 22 47 6f 22 20 77 69 74 |er menu |"Go" wit|
|000012e0| 68 20 6d 65 6e 75 4d 73 | 67 c2 0d 22 2c 67 6f 48 |h menuMs|g..",goH|
|000012f0| 6f 6d 65 43 61 72 64 2c | 67 6f 42 75 74 74 6f 6e |omeCard,|goButton|
|00001300| 42 61 6e 6b 2c 67 6f 46 | 69 6c 74 65 72 43 61 72 |Bank,goF|ilterCar|
|00001310| 64 2c 67 6f 53 79 73 50 | 61 72 61 6d 73 2c 67 6f |d,goSysP|arams,go|
|00001320| 53 6c 6f 74 41 64 64 72 | 2c 2c 67 6f 4e 6f 74 65 |SlotAddr|,,goNote|
|00001330| 73 2c 67 6f 53 75 6d 6d | 61 72 79 22 0d 0d 2d 2d |s,goSumm|ary"..--|
|00001340| 20 6d 6f 64 69 66 79 20 | 27 46 69 6c 65 27 20 6d | modify |'File' m|
|00001350| 65 6e 75 0d 70 75 74 20 | 22 4e 65 77 20 57 61 76 |enu.put |"New Wav|
|00001360| 65 54 72 61 6b 20 53 74 | 61 63 6b 2e 2e 2e 22 20 |eTrak St|ack..." |
|00001370| 61 66 74 65 72 20 6d 65 | 6e 75 69 74 65 6d 20 22 |after me|nuitem "|
|00001380| 4e 65 77 20 53 74 61 63 | 6b 2e 2e 2e 22 20 69 6e |New Stac|k..." in|
|00001390| 20 6d 65 6e 75 20 22 46 | 69 6c 65 22 20 77 69 74 | menu "F|ile" wit|
|000013a0| 68 20 6d 65 6e 75 4d 73 | 67 20 22 43 72 65 61 74 |h menuMs|g "Creat|
|000013b0| 65 42 6c 61 6e 6b 57 54 | 52 4b 22 0d 73 65 74 20 |eBlankWT|RK".set |
|000013c0| 74 68 65 20 65 6e 61 62 | 6c 65 64 20 6f 66 20 20 |the enab|led of |
|000013d0| 6d 65 6e 75 69 74 65 6d | 20 22 44 65 6c 65 74 65 |menuitem| "Delete|
|000013e0| 20 53 74 61 63 6b 2e 2e | 2e 22 20 6f 66 20 6d 65 | Stack..|." of me|
|000013f0| 6e 75 20 22 46 69 6c 65 | 22 20 74 6f 20 46 41 4c |nu "File|" to FAL|
|00001400| 53 45 0d 0d 2d 2d 20 6d | 6f 64 69 66 79 20 27 45 |SE..-- m|odify 'E|
|00001410| 64 69 74 27 20 6d 65 6e | 75 0d 70 75 74 20 22 4e |dit' men|u.put "N|
|00001420| 65 77 20 52 6f 6f 74 22 | 20 61 66 74 65 72 20 6d |ew Root"| after m|
|00001430| 65 6e 75 69 74 65 6d 20 | 22 4e 65 77 20 43 61 72 |enuitem |"New Car|
|00001440| 64 22 20 69 6e 20 6d 65 | 6e 75 20 22 45 64 69 74 |d" in me|nu "Edit|
|00001450| 22 20 77 69 74 68 20 6d | 65 6e 75 4d 73 67 20 22 |" with m|enuMsg "|
|00001460| 6e 65 77 52 6f 6f 74 22 | 0d 73 65 74 20 74 68 65 |newRoot"|.set the|
|00001470| 20 65 6e 61 62 6c 65 64 | 20 6f 66 20 20 6d 65 6e | enabled| of men|
|00001480| 75 69 74 65 6d 20 20 22 | 43 75 74 20 43 61 72 64 |uitem "|Cut Card|
|00001490| 22 20 6f 66 20 6d 65 6e | 75 20 22 45 64 69 74 22 |" of men|u "Edit"|
|000014a0| 20 74 6f 20 46 41 4c 53 | 45 0d 0d 70 75 74 20 22 | to FALS|E..put "|
|000014b0| 2d 2c 43 6f 70 79 20 61 | 73 20 58 59 2c 43 6f 70 |-,Copy a|s XY,Cop|
|000014c0| 79 20 61 73 20 59 2c 43 | 6f 70 79 20 61 73 20 50 |y as Y,C|opy as P|
|000014d0| 49 43 54 2c 43 6f 70 79 | 20 61 73 20 42 69 67 20 |ICT,Copy| as Big |
|000014e0| 50 49 43 54 2c 53 61 76 | 65 20 61 73 20 49 67 6f |PICT,Sav|e as Igo|
|000014f0| 72 20 54 45 58 54 22 c2 | 0d 61 66 74 65 72 20 6d |r TEXT".|.after m|
|00001500| 65 6e 75 20 22 45 64 69 | 74 22 20 77 69 74 68 20 |enu "Edi|t" with |
|00001510| 6d 65 6e 75 4d 73 67 c2 | 0d 22 2c 43 6f 70 79 41 |menuMsg.|.",CopyA|
|00001520| 73 58 59 2c 43 6f 70 79 | 41 73 59 2c 43 6f 70 79 |sXY,Copy|AsY,Copy|
|00001530| 41 73 50 49 43 54 2c 43 | 6f 70 79 41 73 42 69 67 |AsPICT,C|opyAsBig|
|00001540| 50 49 43 54 2c 53 61 76 | 65 49 67 6f 72 54 45 58 |PICT,Sav|eIgorTEX|
|00001550| 54 22 0d 73 65 74 20 74 | 68 65 20 65 6e 61 62 6c |T".set t|he enabl|
|00001560| 65 64 20 6f 66 20 6d 65 | 6e 75 69 74 65 6d 20 22 |ed of me|nuitem "|
|00001570| 43 6f 70 79 20 61 73 20 | 58 59 22 20 6f 66 20 6d |Copy as |XY" of m|
|00001580| 65 6e 75 20 22 45 64 69 | 74 22 20 74 6f 20 46 41 |enu "Edi|t" to FA|
|00001590| 4c 53 45 0d 73 65 74 20 | 74 68 65 20 65 6e 61 62 |LSE.set |the enab|
|000015a0| 6c 65 64 20 6f 66 20 6d | 65 6e 75 69 74 65 6d 20 |led of m|enuitem |
|000015b0| 22 43 6f 70 79 20 61 73 | 20 59 22 20 6f 66 20 6d |"Copy as| Y" of m|
|000015c0| 65 6e 75 20 22 45 64 69 | 74 22 20 74 6f 20 46 41 |enu "Edi|t" to FA|
|000015d0| 4c 53 45 0d 73 65 74 20 | 74 68 65 20 65 6e 61 62 |LSE.set |the enab|
|000015e0| 6c 65 64 20 6f 66 20 6d | 65 6e 75 69 74 65 6d 20 |led of m|enuitem |
|000015f0| 22 43 6f 70 79 20 61 73 | 20 50 49 43 54 22 20 6f |"Copy as| PICT" o|
|00001600| 66 20 6d 65 6e 75 20 22 | 45 64 69 74 22 20 74 6f |f menu "|Edit" to|
|00001610| 20 46 41 4c 53 45 0d 73 | 65 74 20 74 68 65 20 65 | FALSE.s|et the e|
|00001620| 6e 61 62 6c 65 64 20 6f | 66 20 6d 65 6e 75 69 74 |nabled o|f menuit|
|00001630| 65 6d 20 22 43 6f 70 79 | 20 61 73 20 42 69 67 20 |em "Copy| as Big |
|00001640| 50 49 43 54 22 20 6f 66 | 20 6d 65 6e 75 20 22 45 |PICT" of| menu "E|
|00001650| 64 69 74 22 20 74 6f 20 | 46 41 4c 53 45 0d 73 65 |dit" to |FALSE.se|
|00001660| 74 20 74 68 65 20 65 6e | 61 62 6c 65 64 20 6f 66 |t the en|abled of|
|00001670| 20 6d 65 6e 75 69 74 65 | 6d 20 22 53 61 76 65 20 | menuite|m "Save |
|00001680| 61 73 20 49 67 6f 72 20 | 54 45 58 54 22 20 6f 66 |as Igor |TEXT" of|
|00001690| 20 6d 65 6e 75 20 22 45 | 64 69 74 22 20 74 6f 20 | menu "E|dit" to |
|000016a0| 46 41 4c 53 45 0d 0d 0d | 69 66 20 6f 70 65 6e 65 |FALSE...|if opene|
|000016b0| 64 4f 6e 63 65 20 69 73 | 20 6e 6f 74 20 74 72 75 |dOnce is| not tru|
|000016c0| 65 20 74 68 65 6e 0d 0d | 69 66 20 74 68 65 20 76 |e then..|if the v|
|000016d0| 65 72 73 69 6f 6e 20 3c | 20 32 2e 30 20 74 68 65 |ersion <| 2.0 the|
|000016e0| 6e 0d 61 6e 73 77 65 72 | 20 22 53 6f 72 72 79 2c |n.answer| "Sorry,|
|000016f0| 20 57 61 76 65 54 72 61 | 6b 20 72 65 71 75 69 72 | WaveTra|k requir|
|00001700| 65 73 20 48 79 70 65 72 | 43 61 72 64 20 76 65 72 |es Hyper|Card ver|
|00001710| 73 69 6f 6e 20 32 2e 30 | 20 6f 72 20 6c 61 74 65 |sion 2.0| or late|
|00001720| 72 2e 22 20 77 69 74 68 | 20 22 47 6f 20 48 6f 6d |r." with| "Go Hom|
|00001730| 65 22 0d 64 6f 4d 65 6e | 75 20 22 51 75 69 74 20 |e".doMen|u "Quit |
|00001740| 48 79 70 65 72 43 61 72 | 64 22 0d 65 78 69 74 20 |HyperCar|d".exit |
|00001750| 74 6f 20 48 79 70 65 72 | 43 61 72 64 0d 65 6e 64 |to Hyper|Card.end|
|00001760| 20 69 66 0d 0d 69 66 20 | 74 68 65 20 68 65 61 70 | if..if |the heap|
|00001770| 73 70 61 63 65 20 3c 20 | 32 34 30 30 30 30 20 74 |space < |240000 t|
|00001780| 68 65 6e 0d 65 72 72 6e | 75 6d 20 37 38 0d 64 6f |hen.errn|um 78.do|
|00001790| 4d 65 6e 75 20 22 51 75 | 69 74 20 48 79 70 65 72 |Menu "Qu|it Hyper|
|000017a0| 43 61 72 64 22 0d 65 78 | 69 74 20 74 6f 20 48 79 |Card".ex|it to Hy|
|000017b0| 70 65 72 43 61 72 64 0d | 65 6e 64 20 69 66 0d 0d |perCard.|end if..|
|000017c0| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 74 68 65 |repeat u|ntil the|
|000017d0| 20 6d 6f 75 73 65 20 69 | 73 20 64 6f 77 6e 0d 65 | mouse i|s down.e|
|000017e0| 6e 64 20 72 65 70 65 61 | 74 0d 63 6c 6f 73 65 20 |nd repea|t.close |
|000017f0| 77 69 6e 64 6f 77 20 22 | 50 49 43 54 20 49 44 20 |window "|PICT ID |
|00001800| 32 33 39 38 39 22 0d 0d | 69 66 20 48 61 72 64 77 |23989"..|if Hardw|
|00001810| 61 72 65 4f 4b 20 74 68 | 65 6e 0d 70 75 74 20 22 |areOK th|en.put "|
|00001820| 41 2f 44 20 68 61 72 64 | 77 61 72 65 20 69 6e 69 |A/D hard|ware ini|
|00001830| 74 69 61 6c 69 7a 65 64 | 2e 22 0d 65 6e 64 20 69 |tialized|.".end i|
|00001840| 66 0d 0d 0d 65 6e 64 20 | 69 66 20 20 2d 2d 20 69 |f...end |if -- i|
|00001850| 66 20 6f 70 65 6e 65 64 | 4f 6e 63 65 20 69 73 20 |f opened|Once is |
|00001860| 6e 6f 74 20 74 72 75 65 | 0d 0d 73 68 6f 77 20 63 |not true|..show c|
|00001870| 61 72 64 20 77 69 6e 64 | 6f 77 20 61 74 20 30 2c |ard wind|ow at 0,|
|00001880| 33 38 0d 73 68 6f 77 20 | 6d 73 67 20 77 69 6e 64 |38.show |msg wind|
|00001890| 6f 77 20 61 74 20 30 2c | 34 30 34 0d 0d 70 75 74 |ow at 0,|404..put|
|000018a0| 20 54 52 55 45 20 69 6e | 74 6f 20 6f 70 65 6e 65 | TRUE in|to opene|
|000018b0| 64 4f 6e 63 65 20 20 2d | 2d 20 64 6f 20 74 68 69 |dOnce -|- do thi|
|000018c0| 73 20 6f 6e 6c 79 20 6f | 6e 63 65 0d 65 6e 64 20 |s only o|nce.end |
|000018d0| 6f 70 65 6e 53 74 61 63 | 6b 0d 0d 6f 6e 20 55 70 |openStac|k..on Up|
|000018e0| 64 61 74 65 53 79 73 50 | 61 72 61 6d 73 0d 67 6c |dateSysP|arams.gl|
|000018f0| 6f 62 61 6c 20 64 69 73 | 70 52 65 63 74 20 2d 2d |obal dis|pRect --|
|00001900| 20 63 6f 6f 72 64 73 20 | 6f 66 20 77 61 76 65 20 | coords |of wave |
|00001910| 64 69 73 70 6c 61 79 20 | 72 65 63 74 20 69 6e 20 |display |rect in |
|00001920| 73 63 6f 70 65 2f 74 72 | 61 63 65 20 63 61 72 64 |scope/tr|ace card|
|00001930| 73 0d 67 6c 6f 62 61 6c | 20 6e 70 6f 69 6e 74 73 |s.global| npoints|
|00001940| 20 20 2d 2d 20 6e 6f 2e | 20 6f 66 20 70 6f 69 6e | -- no.| of poin|
|00001950| 74 73 2f 77 61 76 65 0d | 67 6c 6f 62 61 6c 20 73 |ts/wave.|global s|
|00001960| 61 6d 70 6c 65 49 6e 74 | 65 72 76 61 6c 20 20 2d |ampleInt|erval -|
|00001970| 2d 20 73 61 6d 70 6c 65 | 20 69 6e 74 65 72 76 61 |- sample| interva|
|00001980| 6c 20 69 6e 20 b5 73 2f | 73 61 6d 70 6c 65 0d 67 |l in .s/|sample.g|
|00001990| 6c 6f 62 61 6c 20 54 54 | 4c 70 75 6c 73 65 20 20 |lobal TT|Lpulse |
|000019a0| 2d 2d 20 54 54 4c 20 70 | 75 6c 73 65 20 6f 6e 73 |-- TTL p|ulse ons|
|000019b0| 65 74 2c 77 69 64 74 68 | 20 69 6e 20 b5 73 0d 67 |et,width| in .s.g|
|000019c0| 6c 6f 62 61 6c 20 41 44 | 43 62 69 74 73 2c 46 53 |lobal AD|Cbits,FS|
|000019d0| 54 61 62 6c 65 0d 67 6c | 6f 62 61 6c 20 44 41 43 |Table.gl|obal DAC|
|000019e0| 62 69 74 73 2c 44 41 43 | 6d 69 6e 2c 44 41 43 6d |bits,DAC|min,DACm|
|000019f0| 61 78 2c 44 41 43 47 61 | 69 6e 54 61 62 6c 65 0d |ax,DACGa|inTable.|
|00001a00| 67 6c 6f 62 61 6c 20 66 | 4c 6f 2c 66 48 69 2c 66 |global f|Lo,fHi,f|
|00001a10| 33 64 42 2c 72 6f 6c 6c | 6f 66 66 2c 46 49 52 43 |3dB,roll|off,FIRC|
|00001a20| 6f 65 66 66 73 20 20 2d | 2d 20 64 69 67 69 74 61 |oeffs -|- digita|
|00001a30| 6c 20 66 69 6c 74 65 72 | 20 70 61 72 61 6d 73 0d |l filter| params.|
|00001a40| 0d 2d 2d 20 64 65 66 69 | 6e 65 20 74 72 61 63 65 |.-- defi|ne trace|
|00001a50| 20 64 69 73 70 6c 61 79 | 20 72 65 63 74 61 6e 67 | display| rectang|
|00001a60| 6c 65 0d 2d 2d 20 4e 6f | 74 65 3a 20 69 66 20 64 |le.-- No|te: if d|
|00001a70| 69 73 70 52 65 63 74 20 | 69 73 20 63 68 61 6e 67 |ispRect |is chang|
|00001a80| 65 64 2c 20 79 6f 75 20 | 6d 75 73 74 20 65 72 61 |ed, you |must era|
|00001a90| 73 65 20 62 61 63 6b 67 | 72 6f 75 6e 64 20 72 65 |se backg|round re|
|00001aa0| 63 74 20 69 6e 20 74 72 | 61 63 65 20 63 64 73 20 |ct in tr|ace cds |
|00001ab0| 74 6f 20 61 76 6f 69 64 | 0d 2d 2d 20 61 20 64 6f |to avoid|.-- a do|
|00001ac0| 75 62 6c 65 20 72 65 63 | 74 61 6e 67 6c 65 3a 20 |uble rec|tangle: |
|00001ad0| 6f 6c 64 20 70 6c 75 73 | 20 6e 65 77 20 6f 6e 65 |old plus| new one|
|00001ae0| 21 0d 70 75 74 20 22 31 | 32 2c 34 37 2c 33 37 35 |!.put "1|2,47,375|
|00001af0| 2c 32 38 39 22 20 69 6e | 74 6f 20 64 69 73 70 52 |,289" in|to dispR|
|00001b00| 65 63 74 20 2d 2d 20 6c | 65 66 74 2c 74 6f 70 2c |ect -- l|eft,top,|
|00001b10| 72 69 67 68 74 2c 62 6f | 74 74 74 6f 6d 0d 0d 2d |right,bo|tttom..-|
|00001b20| 2d 20 63 6f 70 79 20 64 | 65 66 61 75 6c 74 73 20 |- copy d|efaults |
|00001b30| 69 6e 74 6f 20 67 6c 6f | 62 61 6c 73 20 6f 6e 20 |into glo|bals on |
|00001b40| 73 74 61 72 74 75 70 0d | 70 75 74 20 6c 69 6e 65 |startup.|put line|
|00001b50| 20 32 20 6f 66 20 63 61 | 72 64 20 66 69 65 6c 64 | 2 of ca|rd field|
|00001b60| 20 22 48 50 61 72 61 6d | 73 22 20 69 6e 20 63 61 | "HParam|s" in ca|
|00001b70| 72 64 20 22 53 79 73 50 | 61 72 61 6d 73 22 20 69 |rd "SysP|arams" i|
|00001b80| 6e 74 6f 20 6e 70 6f 69 | 6e 74 73 20 20 2d 2d 20 |nto npoi|nts -- |
|00001b90| 70 6f 69 6e 74 73 2f 77 | 61 76 65 66 6f 72 6d 0d |points/w|aveform.|
|00001ba0| 70 75 74 20 6c 69 6e 65 | 20 33 20 6f 66 20 63 61 |put line| 3 of ca|
|00001bb0| 72 64 20 66 69 65 6c 64 | 20 22 48 50 61 72 61 6d |rd field| "HParam|
|00001bc0| 73 22 20 69 6e 20 63 61 | 72 64 20 22 53 79 73 50 |s" in ca|rd "SysP|
|00001bd0| 61 72 61 6d 73 22 20 69 | 6e 74 6f 20 73 61 6d 70 |arams" i|nto samp|
|00001be0| 6c 65 49 6e 74 65 72 76 | 61 6c 20 20 2d 2d 20 69 |leInterv|al -- i|
|00001bf0| 6e 20 b5 73 2f 73 61 6d | 70 6c 65 0d 70 75 74 20 |n .s/sam|ple.put |
|00001c00| 6c 69 6e 65 20 35 20 6f | 66 20 63 61 72 64 20 66 |line 5 o|f card f|
|00001c10| 69 65 6c 64 20 22 48 50 | 61 72 61 6d 73 22 20 69 |ield "HP|arams" i|
|00001c20| 6e 20 63 61 72 64 20 22 | 53 79 73 50 61 72 61 6d |n card "|SysParam|
|00001c30| 73 22 20 69 6e 74 6f 20 | 54 54 4c 70 75 6c 73 65 |s" into |TTLpulse|
|00001c40| 0d 70 75 74 20 63 64 20 | 66 6c 64 20 22 46 75 6c |.put cd |fld "Ful|
|00001c50| 6c 53 63 61 6c 65 22 20 | 69 6e 20 63 64 20 22 53 |lScale" |in cd "S|
|00001c60| 79 73 50 61 72 61 6d 73 | 22 20 69 6e 74 6f 20 46 |ysParams|" into F|
|00001c70| 53 54 61 62 6c 65 0d 0d | 70 75 74 20 63 64 20 66 |STable..|put cd f|
|00001c80| 6c 64 20 22 6e 41 44 43 | 62 69 74 73 22 20 69 6e |ld "nADC|bits" in|
|00001c90| 20 63 64 20 22 53 79 73 | 50 61 72 61 6d 73 22 20 | cd "Sys|Params" |
|00001ca0| 69 6e 74 6f 20 41 44 43 | 62 69 74 73 0d 69 66 20 |into ADC|bits.if |
|00001cb0| 74 68 65 20 68 69 6c 69 | 74 65 20 6f 66 20 63 64 |the hili|te of cd|
|00001cc0| 20 62 75 74 74 6f 6e 20 | 69 64 20 33 35 20 69 6e | button |id 35 in|
|00001cd0| 20 63 64 20 22 53 79 73 | 50 61 72 61 6d 73 22 20 | cd "Sys|Params" |
|00001ce0| 69 73 20 54 52 55 45 20 | 74 68 65 6e 20 70 75 74 |is TRUE |then put|
|00001cf0| 20 2d 41 44 43 62 69 74 | 73 20 69 6e 74 6f 20 41 | -ADCbit|s into A|
|00001d00| 44 43 62 69 74 73 20 20 | 2d 2d 32 73 20 63 6f 6d |DCbits |--2s com|
|00001d10| 70 6c 65 6d 65 6e 74 0d | 0d 70 75 74 20 63 64 20 |plement.|.put cd |
|00001d20| 66 6c 64 20 22 6e 44 41 | 43 62 69 74 73 22 20 69 |fld "nDA|Cbits" i|
|00001d30| 6e 20 63 64 20 22 53 79 | 73 50 61 72 61 6d 73 22 |n cd "Sy|sParams"|
|00001d40| 20 69 6e 74 6f 20 44 41 | 43 62 69 74 73 0d 69 66 | into DA|Cbits.if|
|00001d50| 20 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 63 | the hil|ite of c|
|00001d60| 64 20 62 75 74 74 6f 6e | 20 69 64 20 35 36 20 69 |d button| id 56 i|
|00001d70| 6e 20 63 64 20 22 53 79 | 73 50 61 72 61 6d 73 22 |n cd "Sy|sParams"|
|00001d80| 20 69 73 20 54 52 55 45 | 20 74 68 65 6e 20 70 75 | is TRUE| then pu|
|00001d90| 74 20 2d 44 41 43 62 69 | 74 73 20 69 6e 74 6f 20 |t -DACbi|ts into |
|00001da0| 44 41 43 62 69 74 73 20 | 20 2d 2d 32 73 20 63 6f |DACbits | --2s co|
|00001db0| 6d 70 6c 65 6d 65 6e 74 | 0d 0d 2d 2d 20 63 6f 6d |mplement|..-- com|
|00001dc0| 70 75 74 65 20 66 75 6c | 6c 20 73 63 61 6c 65 20 |pute ful|l scale |
|00001dd0| 44 41 43 20 74 61 62 6c | 65 0d 70 75 74 20 31 30 |DAC tabl|e.put 10|
|00001de0| 30 30 30 20 69 6e 74 6f | 20 44 41 43 6d 61 78 0d |000 into| DACmax.|
|00001df0| 69 66 20 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |if the h|ilite of|
|00001e00| 20 63 64 20 62 75 74 74 | 6f 6e 20 69 64 20 35 38 | cd butt|on id 58|
|00001e10| 20 69 6e 20 63 64 20 22 | 53 79 73 50 61 72 61 6d | in cd "|SysParam|
|00001e20| 73 22 20 69 73 20 54 52 | 55 45 20 74 68 65 6e 0d |s" is TR|UE then.|
|00001e30| 70 75 74 20 2d 31 30 30 | 30 30 20 69 6e 74 6f 20 |put -100|00 into |
|00001e40| 44 41 43 6d 69 6e 20 20 | 2d 2d 20 b1 31 30 56 0d |DACmin |-- .10V.|
|00001e50| 65 6c 73 65 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |else.put| 0 into |
|00001e60| 44 41 43 6d 69 6e 20 20 | 2d 2d 20 30 2d 31 30 56 |DACmin |-- 0-10V|
|00001e70| 0d 65 6e 64 20 69 66 0d | 2d 2d 20 65 78 74 65 72 |.end if.|-- exter|
|00001e80| 6e 61 6c 20 44 41 43 20 | 73 63 61 6c 69 6e 67 20 |nal DAC |scaling |
|00001e90| 74 61 62 6c 65 0d 70 75 | 74 20 63 64 20 66 6c 64 |table.pu|t cd fld|
|00001ea0| 20 22 78 44 41 47 61 69 | 6e 22 20 69 6e 20 63 64 | "xDAGai|n" in cd|
|00001eb0| 20 22 53 79 73 50 61 72 | 61 6d 73 22 20 69 6e 74 | "SysPar|ams" int|
|00001ec0| 6f 20 44 41 43 47 61 69 | 6e 54 61 62 6c 65 0d 0d |o DACGai|nTable..|
|00001ed0| 2d 2d 20 75 70 64 61 74 | 65 20 64 69 67 69 74 61 |-- updat|e digita|
|00001ee0| 6c 20 66 69 6c 74 65 72 | 20 70 61 72 61 6d 73 0d |l filter| params.|
|00001ef0| 70 75 74 20 63 64 20 66 | 6c 64 20 22 66 4c 6f 22 |put cd f|ld "fLo"|
|00001f00| 20 69 6e 20 63 64 20 22 | 46 69 6c 74 65 72 43 61 | in cd "|FilterCa|
|00001f10| 72 64 22 20 69 6e 74 6f | 20 66 4c 6f 0d 70 75 74 |rd" into| fLo.put|
|00001f20| 20 63 64 20 66 6c 64 20 | 22 66 48 69 22 20 69 6e | cd fld |"fHi" in|
|00001f30| 20 63 64 20 22 46 69 6c | 74 65 72 43 61 72 64 22 | cd "Fil|terCard"|
|00001f40| 20 69 6e 74 6f 20 66 48 | 69 0d 70 75 74 20 63 64 | into fH|i.put cd|
|00001f50| 20 66 6c 64 20 22 66 33 | 64 42 22 20 69 6e 20 63 | fld "f3|dB" in c|
|00001f60| 64 20 22 46 69 6c 74 65 | 72 43 61 72 64 22 20 69 |d "Filte|rCard" i|
|00001f70| 6e 74 6f 20 66 33 64 42 | 0d 70 75 74 20 72 6f 75 |nto f3dB|.put rou|
|00001f80| 6e 64 28 63 64 20 66 6c | 64 20 22 72 6f 6c 6c 6f |nd(cd fl|d "rollo|
|00001f90| 66 66 22 20 69 6e 20 63 | 64 20 22 46 69 6c 74 65 |ff" in c|d "Filte|
|00001fa0| 72 43 61 72 64 22 29 20 | 69 6e 74 6f 20 72 6f 6c |rCard") |into rol|
|00001fb0| 6c 6f 66 66 0d 0d 67 65 | 74 20 63 64 20 66 6c 64 |loff..ge|t cd fld|
|00001fc0| 20 22 46 49 52 43 6f 65 | 66 66 73 46 6c 64 22 20 | "FIRCoe|ffsFld" |
|00001fd0| 69 6e 20 63 64 20 22 46 | 69 6c 74 65 72 43 61 72 |in cd "F|ilterCar|
|00001fe0| 64 22 0d 67 65 74 20 58 | 59 54 61 62 6c 65 54 6f |d".get X|YTableTo|
|00001ff0| 57 61 76 65 20 28 69 74 | 2c 22 46 49 52 43 6f 65 |Wave (it|,"FIRCoe|
|00002000| 66 66 73 22 2c 22 46 22 | 29 0d 0d 65 6e 64 20 55 |ffs","F"|)..end U|
|00002010| 70 64 61 74 65 53 79 73 | 50 61 72 61 6d 73 0d 0d |pdateSys|Params..|
|00002020| 6f 6e 20 45 72 72 4e 75 | 6d 20 74 68 65 45 72 72 |on ErrNu|m theErr|
|00002030| 6f 72 4e 75 6d 62 65 72 | 0d 67 6c 6f 62 61 6c 20 |orNumber|.global |
|00002040| 58 43 4d 44 45 72 72 0d | 69 66 20 74 68 65 45 72 |XCMDErr.|if theEr|
|00002050| 72 6f 72 4e 75 6d 62 65 | 72 3d 30 20 74 68 65 6e |rorNumbe|r=0 then|
|00002060| 20 65 78 69 74 20 45 72 | 72 4e 75 6d 20 2d 2d 20 | exit Er|rNum -- |
|00002070| 6e 6f 20 65 72 72 6f 72 | 20 6f 63 63 75 72 72 65 |no error| occurre|
|00002080| 64 0d 67 65 74 20 6c 69 | 6e 65 20 74 68 65 45 72 |d.get li|ne theEr|
|00002090| 72 6f 72 4e 75 6d 62 65 | 72 20 69 6e 20 63 61 72 |rorNumbe|r in car|
|000020a0| 64 20 66 6c 64 20 22 45 | 72 72 4c 69 73 74 22 20 |d fld "E|rrList" |
|000020b0| 69 6e 20 63 61 72 64 20 | 22 45 72 72 6f 72 4c 69 |in card |"ErrorLi|
|000020c0| 73 74 22 0d 64 65 6c 65 | 74 65 20 69 74 65 6d 20 |st".dele|te item |
|000020d0| 31 20 6f 66 20 69 74 0d | 67 65 74 20 69 74 20 26 |1 of it.|get it &|
|000020e0| 26 20 22 28 45 72 72 6f | 72 20 22 26 74 68 65 45 |& "(Erro|r "&theE|
|000020f0| 72 72 6f 72 4e 75 6d 62 | 65 72 26 22 29 2e 22 0d |rrorNumb|er&").".|
|00002100| 61 6e 73 77 65 72 20 69 | 74 20 77 69 74 68 20 22 |answer i|t with "|
|00002110| 4f 4b 22 0d 69 66 20 28 | 74 68 65 20 73 68 6f 72 |OK".if (|the shor|
|00002120| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 63 |t name o|f this c|
|00002130| 61 72 64 20 69 73 20 22 | 53 63 6f 70 65 22 29 20 |ard is "|Scope") |
|00002140| 6f 72 c2 0d 28 74 68 65 | 20 73 68 6f 72 74 20 6e |or..(the| short n|
|00002150| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 62 67 20 69 |ame of t|his bg i|
|00002160| 73 20 22 54 72 61 63 65 | 42 67 22 29 20 74 68 65 |s "Trace|Bg") the|
|00002170| 6e 0d 70 75 74 20 58 43 | 4d 44 45 72 72 20 69 6e |n.put XC|MDErr in|
|00002180| 74 6f 20 74 65 6d 70 45 | 72 72 20 20 2d 2d 20 70 |to tempE|rr -- p|
|00002190| 72 65 73 65 72 76 65 20 | 58 43 4d 44 45 72 72 20 |reserve |XCMDErr |
|000021a0| 61 66 74 65 72 20 52 65 | 70 6c 6f 74 0d 52 65 70 |after Re|plot.Rep|
|000021b0| 6c 6f 74 57 61 76 65 0d | 70 75 74 20 74 65 6d 70 |lotWave.|put temp|
|000021c0| 45 72 72 20 69 6e 74 6f | 20 58 43 4d 44 45 72 72 |Err into| XCMDErr|
|000021d0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 45 72 72 4e |.end if.|end ErrN|
|000021e0| 75 6d 0d 0d 6f 6e 20 6b | 69 6c 6c 69 74 20 2d 2d |um..on k|illit --|
|000021f0| 20 62 79 70 61 73 73 65 | 73 20 64 65 6c 65 74 65 | bypasse|s delete|
|00002200| 20 74 72 61 70 73 2c 20 | 61 6c 6c 6f 77 73 20 64 | traps, |allows d|
|00002210| 65 6c 65 74 69 6f 6e 20 | 6f 66 20 61 6e 79 20 63 |eletion |of any c|
|00002220| 61 72 64 0d 73 65 6e 64 | 20 22 64 6f 4d 65 6e 75 |ard.send| "doMenu|
|00002230| 20 64 65 6c 65 74 65 20 | 63 61 72 64 22 20 74 6f | delete |card" to|
|00002240| 20 68 79 70 65 72 63 61 | 72 64 0d 65 6e 64 20 6b | hyperca|rd.end k|
|00002250| 69 6c 6c 69 74 0d 0d 6f | 6e 20 43 72 65 61 74 65 |illit..o|n Create|
|00002260| 50 6f 73 74 65 64 43 61 | 72 64 0d 61 73 6b 20 22 |PostedCa|rd.ask "|
|00002270| 4e 61 6d 65 20 79 6f 75 | 72 20 6e 65 77 20 63 61 |Name you|r new ca|
|00002280| 72 64 3a 22 0d 69 66 20 | 69 74 20 69 73 20 65 6d |rd:".if |it is em|
|00002290| 70 74 79 20 74 68 65 6e | 20 65 78 69 74 20 43 72 |pty then| exit Cr|
|000022a0| 65 61 74 65 50 6f 73 74 | 65 64 43 61 72 64 0d 70 |eatePost|edCard.p|
|000022b0| 75 74 20 69 74 20 69 6e | 74 6f 20 74 68 65 4e 61 |ut it in|to theNa|
|000022c0| 6d 65 0d 0d 70 75 73 68 | 20 63 61 72 64 0d 0d 73 |me..push| card..s|
|000022d0| 65 74 20 6c 6f 63 6b 53 | 63 72 65 65 6e 20 74 6f |et lockS|creen to|
|000022e0| 20 74 72 75 65 0d 73 65 | 74 20 6c 6f 63 6b 6d 65 | true.se|t lockme|
|000022f0| 73 73 61 67 65 73 20 74 | 6f 20 74 72 75 65 0d 0d |ssages t|o true..|
|00002300| 2d 2d 20 63 72 65 61 74 | 65 20 61 20 6e 65 77 20 |-- creat|e a new |
|00002310| 62 6c 61 6e 6b 20 63 61 | 72 64 0d 67 6f 20 74 6f |blank ca|rd.go to|
|00002320| 20 63 61 72 64 20 22 73 | 74 64 50 6f 73 74 65 64 | card "s|tdPosted|
|00002330| 43 61 72 64 22 0d 64 6f | 4d 65 6e 75 20 22 6e 65 |Card".do|Menu "ne|
|00002340| 77 20 63 61 72 64 22 0d | 70 75 74 20 74 68 65 20 |w card".|put the |
|00002350| 73 68 6f 72 74 20 69 64 | 20 6f 66 20 74 68 69 73 |short id| of this|
|00002360| 20 63 61 72 64 20 69 6e | 74 6f 20 6e 65 77 49 44 | card in|to newID|
|00002370| 0d 0d 70 6f 70 20 63 61 | 72 64 0d 0d 2d 2d 20 63 |..pop ca|rd..-- c|
|00002380| 72 65 61 74 65 20 61 20 | 6e 65 77 20 62 75 74 74 |reate a |new butt|
|00002390| 6f 6e 20 6f 6e 20 72 6f | 6f 74 20 6c 69 6e 6b 65 |on on ro|ot linke|
|000023a0| 64 20 74 6f 20 6e 65 77 | 20 62 6c 61 6e 6b 20 63 |d to new| blank c|
|000023b0| 61 72 64 20 63 72 65 61 | 74 65 64 20 61 62 6f 76 |ard crea|ted abov|
|000023c0| 65 0d 64 6f 4d 65 6e 75 | 20 22 6e 65 77 20 62 75 |e.doMenu| "new bu|
|000023d0| 74 74 6f 6e 22 0d 73 65 | 74 20 74 68 65 20 6c 6f |tton".se|t the lo|
|000023e0| 63 20 6f 66 20 63 61 72 | 64 20 62 75 74 74 6f 6e |c of car|d button|
|000023f0| 20 22 6e 65 77 20 62 75 | 74 74 6f 6e 22 20 74 6f | "new bu|tton" to|
|00002400| 20 35 37 30 2c 32 35 30 | 0d 73 65 74 20 74 68 65 | 570,250|.set the|
|00002410| 20 74 65 78 74 46 6f 6e | 74 20 6f 66 20 63 61 72 | textFon|t of car|
|00002420| 64 20 62 75 74 74 6f 6e | 20 22 6e 65 77 20 62 75 |d button| "new bu|
|00002430| 74 74 6f 6e 22 20 74 6f | 20 47 65 6e 65 76 61 0d |tton" to| Geneva.|
|00002440| 73 65 74 20 74 68 65 20 | 74 65 78 74 53 69 7a 65 |set the |textSize|
|00002450| 20 6f 66 20 63 61 72 64 | 20 62 75 74 74 6f 6e 20 | of card| button |
|00002460| 22 6e 65 77 20 62 75 74 | 74 6f 6e 22 20 74 6f 20 |"new but|ton" to |
|00002470| 39 0d 73 65 74 20 74 68 | 65 20 68 65 69 67 68 74 |9.set th|e height|
|00002480| 20 6f 66 20 63 61 72 64 | 20 62 75 74 74 6f 6e 20 | of card| button |
|00002490| 22 6e 65 77 20 62 75 74 | 74 6f 6e 22 20 74 6f 20 |"new but|ton" to |
|000024a0| 32 30 0d 70 75 74 20 22 | 6f 6e 20 6d 6f 75 73 65 |20.put "|on mouse|
|000024b0| 55 70 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 22 |Up" & re|turn & "|
|000024c0| 67 6f 20 63 61 72 64 20 | 69 64 20 22 20 26 c2 0d |go card |id " &..|
|000024d0| 6e 65 77 49 44 20 26 20 | 72 65 74 75 72 6e 20 26 |newID & |return &|
|000024e0| 20 22 65 6e 64 20 6d 6f | 75 73 65 55 70 22 20 69 | "end mo|useUp" i|
|000024f0| 6e 74 6f 20 62 75 74 74 | 6f 6e 53 63 72 69 70 74 |nto butt|onScript|
|00002500| 0d 73 65 74 20 74 68 65 | 20 73 63 72 69 70 74 20 |.set the| script |
|00002510| 6f 66 20 63 61 72 64 20 | 62 75 74 74 6f 6e 20 22 |of card |button "|
|00002520| 6e 65 77 20 62 75 74 74 | 6f 6e 22 20 74 6f 20 62 |new butt|on" to b|
|00002530| 75 74 74 6f 6e 53 63 72 | 69 70 74 0d 73 65 74 20 |uttonScr|ipt.set |
|00002540| 74 68 65 20 61 75 74 6f | 48 69 6c 69 74 65 20 6f |the auto|Hilite o|
|00002550| 66 20 63 61 72 64 20 62 | 75 74 74 6f 6e 20 22 6e |f card b|utton "n|
|00002560| 65 77 20 62 75 74 74 6f | 6e 22 20 74 6f 20 74 72 |ew butto|n" to tr|
|00002570| 75 65 0d 73 65 74 20 74 | 68 65 20 6e 61 6d 65 20 |ue.set t|he name |
|00002580| 6f 66 20 63 61 72 64 20 | 62 75 74 74 6f 6e 20 22 |of card |button "|
|00002590| 6e 65 77 20 62 75 74 74 | 6f 6e 22 20 74 6f 20 74 |new butt|on" to t|
|000025a0| 68 65 4e 61 6d 65 0d 0d | 73 65 74 20 6c 6f 63 6b |heName..|set lock|
|000025b0| 73 63 72 65 65 6e 20 74 | 6f 20 66 61 6c 73 65 0d |screen t|o false.|
|000025c0| 73 65 74 20 6c 6f 63 6b | 6d 65 73 73 61 67 65 73 |set lock|messages|
|000025d0| 20 74 6f 20 66 61 6c 73 | 65 0d 0d 63 68 6f 6f 73 | to fals|e..choos|
|000025e0| 65 20 62 72 6f 77 73 65 | 20 74 6f 6f 6c 0d 65 6e |e browse| tool.en|
|000025f0| 64 20 43 72 65 61 74 65 | 50 6f 73 74 65 64 43 61 |d Create|PostedCa|
|00002600| 72 64 0d 0d 6f 6e 20 63 | 6c 6f 73 65 53 74 61 63 |rd..on c|loseStac|
|00002610| 6b 0d 2d 2d 20 72 65 73 | 65 74 20 6d 65 6e 75 73 |k.-- res|et menus|
|00002620| 0d 72 65 73 65 74 20 6d | 65 6e 75 62 61 72 0d 65 |.reset m|enubar.e|
|00002630| 6e 64 20 63 6c 6f 73 65 | 53 74 61 63 6b 0d 0d 0d |nd close|Stack...|
|00002640| 6f 6e 20 67 6f 48 6f 6d | 65 43 61 72 64 0d 67 6f |on goHom|eCard.go|
|00002650| 20 74 6f 20 63 61 72 64 | 20 22 48 6f 6d 65 43 61 | to card| "HomeCa|
|00002660| 72 64 22 0d 65 6e 64 20 | 67 6f 48 6f 6d 65 43 61 |rd".end |goHomeCa|
|00002670| 72 64 0d 0d 6f 6e 20 67 | 6f 53 79 73 50 61 72 61 |rd..on g|oSysPara|
|00002680| 6d 73 0d 73 65 74 20 74 | 68 65 20 65 6e 61 62 6c |ms.set t|he enabl|
|00002690| 65 64 20 6f 66 20 6d 65 | 6e 75 69 74 65 6d 20 22 |ed of me|nuitem "|
|000026a0| 53 79 73 74 65 6d 20 50 | 61 72 61 6d 65 74 65 72 |System P|arameter|
|000026b0| 73 22 20 69 6e 20 6d 65 | 6e 75 20 22 47 6f 22 20 |s" in me|nu "Go" |
|000026c0| 74 6f 20 46 41 4c 53 45 | 0d 70 75 73 68 20 63 61 |to FALSE|.push ca|
|000026d0| 72 64 0d 67 6f 20 74 6f | 20 63 61 72 64 20 22 53 |rd.go to| card "S|
|000026e0| 79 73 50 61 72 61 6d 73 | 22 0d 65 6e 64 20 67 6f |ysParams|".end go|
|000026f0| 53 79 73 50 61 72 61 6d | 73 0d 0d 0d 6f 6e 20 67 |SysParam|s...on g|
|00002700| 6f 46 69 6c 74 65 72 43 | 61 72 64 0d 73 65 74 20 |oFilterC|ard.set |
|00002710| 74 68 65 20 65 6e 61 62 | 6c 65 64 20 6f 66 20 6d |the enab|led of m|
|00002720| 65 6e 75 69 74 65 6d 20 | 22 44 69 67 69 74 61 6c |enuitem |"Digital|
|00002730| 20 46 69 6c 74 65 72 73 | 22 20 69 6e 20 6d 65 6e | Filters|" in men|
|00002740| 75 20 22 47 6f 22 20 74 | 6f 20 46 41 4c 53 45 0d |u "Go" t|o FALSE.|
|00002750| 70 75 73 68 20 63 61 72 | 64 0d 67 6f 20 74 6f 20 |push car|d.go to |
|00002760| 63 61 72 64 20 22 46 69 | 6c 74 65 72 43 61 72 64 |card "Fi|lterCard|
|00002770| 22 0d 65 6e 64 20 67 6f | 46 69 6c 74 65 72 43 61 |".end go|FilterCa|
|00002780| 72 64 0d 0d 6f 6e 20 67 | 6f 42 75 74 74 6f 6e 42 |rd..on g|oButtonB|
|00002790| 61 6e 6b 0d 73 65 74 20 | 74 68 65 20 65 6e 61 62 |ank.set |the enab|
|000027a0| 6c 65 64 20 6f 66 20 6d | 65 6e 75 69 74 65 6d 20 |led of m|enuitem |
|000027b0| 22 42 75 74 74 6f 6e 20 | 42 61 6e 6b 22 20 69 6e |"Button |Bank" in|
|000027c0| 20 6d 65 6e 75 20 22 47 | 6f 22 20 74 6f 20 46 41 | menu "G|o" to FA|
|000027d0| 4c 53 45 0d 70 75 73 68 | 20 63 61 72 64 0d 67 6f |LSE.push| card.go|
|000027e0| 20 74 6f 20 63 61 72 64 | 20 22 42 75 74 74 6f 6e | to card| "Button|
|000027f0| 42 61 6e 6b 22 0d 65 6e | 64 20 67 6f 42 75 74 74 |Bank".en|d goButt|
|00002800| 6f 6e 42 61 6e 6b 0d 0d | 6f 6e 20 67 6f 4e 6f 74 |onBank..|on goNot|
|00002810| 65 73 0d 73 65 74 20 74 | 68 65 20 65 6e 61 62 6c |es.set t|he enabl|
|00002820| 65 64 20 6f 66 20 6d 65 | 6e 75 69 74 65 6d 20 22 |ed of me|nuitem "|
|00002830| 4e 6f 74 65 73 22 20 69 | 6e 20 6d 65 6e 75 20 22 |Notes" i|n menu "|
|00002840| 47 6f 22 20 74 6f 20 46 | 41 4c 53 45 0d 70 75 73 |Go" to F|ALSE.pus|
|00002850| 68 20 63 61 72 64 0d 67 | 6f 20 74 6f 20 63 61 72 |h card.g|o to car|
|00002860| 64 20 22 4e 4f 54 45 53 | 22 0d 65 6e 64 20 67 6f |d "NOTES|".end go|
|00002870| 4e 6f 74 65 73 0d 0d 6f | 6e 20 67 6f 53 6c 6f 74 |Notes..o|n goSlot|
|00002880| 41 64 64 72 0d 70 75 73 | 68 20 63 61 72 64 0d 67 |Addr.pus|h card.g|
|00002890| 6f 20 74 6f 20 63 61 72 | 64 20 22 73 6c 6f 74 41 |o to car|d "slotA|
|000028a0| 64 64 72 65 73 73 4d 61 | 70 22 0d 65 6e 64 20 67 |ddressMa|p".end g|
|000028b0| 6f 53 6c 6f 74 41 64 64 | 72 0d 0d 6f 6e 20 67 6f |oSlotAdd|r..on go|
|000028c0| 53 63 6f 70 65 0d 70 75 | 73 68 20 63 61 72 64 0d |Scope.pu|sh card.|
|000028d0| 67 6f 20 63 61 72 64 20 | 22 53 63 6f 70 65 22 0d |go card |"Scope".|
|000028e0| 65 6e 64 20 67 6f 53 63 | 6f 70 65 0d 0d 6f 6e 20 |end goSc|ope..on |
|000028f0| 67 6f 53 75 6d 6d 61 72 | 79 0d 70 75 73 68 20 63 |goSummar|y.push c|
|00002900| 61 72 64 0d 67 6f 20 73 | 74 61 63 6b 20 22 57 61 |ard.go s|tack "Wa|
|00002910| 76 65 54 72 61 6b 20 53 | 75 6d 6d 61 72 79 22 0d |veTrak S|ummary".|
|00002920| 65 6e 64 20 67 6f 53 75 | 6d 6d 61 72 79 0d 0d 6f |end goSu|mmary..o|
|00002930| 6e 20 73 6f 72 74 0d 61 | 6e 73 77 65 72 20 22 43 |n sort.a|nswer "C|
|00002940| 61 72 64 73 20 61 72 65 | 20 61 75 74 6f 6d 61 74 |ards are| automat|
|00002950| 69 63 61 6c 6c 79 20 6c | 69 6e 6b 65 64 2e 20 43 |ically l|inked. C|
|00002960| 61 6e 27 74 20 73 6f 72 | 74 21 22 20 77 69 74 68 |an't sor|t!" with|
|00002970| c2 0d 22 43 61 6e 63 65 | 6c 20 73 6f 72 74 22 0d |.."Cance|l sort".|
|00002980| 65 6e 64 20 73 6f 72 74 | 0d 0d 0d 6f 6e 20 64 6f |end sort|...on do|
|00002990| 4d 65 6e 75 20 63 68 6f | 69 63 65 0d 2d 2d 20 73 |Menu cho|ice.-- s|
|000029a0| 6f 6d 65 20 6d 65 6e 75 | 20 73 65 6c 65 63 74 69 |ome menu| selecti|
|000029b0| 6f 6e 73 20 6d 75 73 74 | 20 62 65 20 69 6e 74 65 |ons must| be inte|
|000029c0| 72 63 65 70 74 65 64 20 | 74 6f 20 61 76 6f 69 64 |rcepted |to avoid|
|000029d0| 20 64 61 6d 61 67 69 6e | 67 20 73 74 61 63 6b 20 | damagin|g stack |
|000029e0| 73 74 72 75 63 74 75 72 | 65 0d 67 6c 6f 62 61 6c |structur|e.global|
|000029f0| 20 58 43 4d 44 45 72 72 | 0d 0d 69 66 20 63 68 6f | XCMDErr|..if cho|
|00002a00| 69 63 65 20 69 73 20 22 | 44 65 6c 65 74 65 20 43 |ice is "|Delete C|
|00002a10| 61 72 64 22 20 74 68 65 | 6e 0d 67 65 74 20 74 68 |ard" the|n.get th|
|00002a20| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00002a30| 62 67 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 42 |bg.put i|t into B|
|00002a40| 67 4e 61 6d 65 0d 2d 2d | 20 69 66 20 64 65 6c 65 |gName.--| if dele|
|00002a50| 74 65 20 69 73 73 75 65 | 64 20 66 72 6f 6d 20 61 |te issue|d from a|
|00002a60| 20 72 6f 6f 74 20 63 61 | 72 64 2c 20 61 6c 65 72 | root ca|rd, aler|
|00002a70| 74 20 75 73 65 72 20 74 | 68 61 74 20 61 6c 6c 20 |t user t|hat all |
|00002a80| 74 72 61 63 65 73 20 77 | 69 6c 6c 20 62 65 20 64 |traces w|ill be d|
|00002a90| 65 6c 65 74 65 64 20 61 | 73 20 77 65 6c 6c 0d 69 |eleted a|s well.i|
|00002aa0| 66 20 42 67 4e 61 6d 65 | 20 69 73 20 22 52 6f 6f |f BgName| is "Roo|
|00002ab0| 74 42 67 22 20 74 68 65 | 6e 0d 62 65 65 70 0d 61 |tBg" the|n.beep.a|
|00002ac0| 6e 73 77 65 72 20 22 41 | 6c 6c 20 74 72 61 63 65 |nswer "A|ll trace|
|00002ad0| 73 20 75 6e 64 65 72 20 | 74 68 69 73 20 72 6f 6f |s under |this roo|
|00002ae0| 74 20 77 69 6c 6c 20 62 | 65 20 64 65 6c 65 74 65 |t will b|e delete|
|00002af0| 64 21 22 20 77 69 74 68 | c2 0d 22 43 61 6e 63 65 |d!" with|.."Cance|
|00002b00| 6c 22 20 6f 72 20 22 44 | 65 6c 65 74 65 22 0d 69 |l" or "D|elete".i|
|00002b10| 66 20 69 74 20 69 73 20 | 22 44 65 6c 65 74 65 22 |f it is |"Delete"|
|00002b20| 20 74 68 65 6e 0d 64 65 | 6c 65 74 65 52 6f 6f 74 | then.de|leteRoot|
|00002b30| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 2d |.end if.|end if.-|
|00002b40| 2d 20 69 66 20 64 65 6c | 65 74 65 20 69 73 73 75 |- if del|ete issu|
|00002b50| 65 64 20 66 72 6f 6d 20 | 61 20 74 72 61 63 65 20 |ed from |a trace |
|00002b60| 63 61 72 64 2c 20 6a 75 | 73 74 20 64 65 6c 65 74 |card, ju|st delet|
|00002b70| 65 20 69 74 0d 69 66 20 | 42 67 4e 61 6d 65 20 69 |e it.if |BgName i|
|00002b80| 73 20 22 54 72 61 63 65 | 42 67 22 20 74 68 65 6e |s "Trace|Bg" then|
|00002b90| 0d 64 65 6c 65 74 65 54 | 72 61 63 65 0d 65 6e 64 |.deleteT|race.end|
|00002ba0| 20 69 66 0d 65 78 69 74 | 20 64 6f 4d 65 6e 75 0d | if.exit| doMenu.|
|00002bb0| 65 6e 64 20 69 66 20 20 | 2d 2d 20 63 68 6f 69 63 |end if |-- choic|
|00002bc0| 65 20 69 73 20 64 65 6c | 65 74 65 20 63 61 72 64 |e is del|ete card|
|00002bd0| 0d 0d 69 66 20 63 68 6f | 69 63 65 20 69 73 20 22 |..if cho|ice is "|
|00002be0| 44 65 6c 65 74 65 20 53 | 74 61 63 6b 2e 2e 2e 22 |Delete S|tack..."|
|00002bf0| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 53 6f | then.an|swer "So|
|00002c00| 72 72 79 2c 20 63 61 6e | 27 74 20 64 65 6c 65 74 |rry, can|'t delet|
|00002c10| 65 20 65 6e 74 69 72 65 | 20 73 74 61 63 6b 2e 22 |e entire| stack."|
|00002c20| 0d 65 78 69 74 20 64 6f | 4d 65 6e 75 0d 65 6e 64 |.exit do|Menu.end|
|00002c30| 20 69 66 0d 0d 69 66 20 | 63 68 6f 69 63 65 20 69 | if..if |choice i|
|00002c40| 73 20 22 43 75 74 20 43 | 61 72 64 22 20 74 68 65 |s "Cut C|ard" the|
|00002c50| 6e 0d 61 6e 73 77 65 72 | 20 22 55 73 65 20 44 65 |n.answer| "Use De|
|00002c60| 6c 65 74 65 20 43 61 72 | 64 20 69 6e 73 74 65 61 |lete Car|d instea|
|00002c70| 64 2e 22 0d 52 65 70 6c | 6f 74 57 61 76 65 0d 65 |d.".Repl|otWave.e|
|00002c80| 78 69 74 20 64 6f 4d 65 | 6e 75 0d 65 6e 64 20 69 |xit doMe|nu.end i|
|00002c90| 66 0d 0d 69 66 20 63 68 | 6f 69 63 65 20 69 73 20 |f..if ch|oice is |
|00002ca0| 22 71 75 69 74 20 68 79 | 70 65 72 63 61 72 64 22 |"quit hy|percard"|
|00002cb0| 20 74 68 65 6e 0d 2d 2d | 20 73 74 75 66 66 20 79 | then.--| stuff y|
|00002cc0| 6f 75 20 77 61 6e 74 20 | 64 6f 6e 65 20 61 74 20 |ou want |done at |
|00002cd0| 71 75 69 74 74 69 6e 67 | 20 74 69 6d 65 0d 65 6e |quitting| time.en|
|00002ce0| 64 20 69 66 0d 0d 69 66 | 20 63 68 6f 69 63 65 20 |d if..if| choice |
|00002cf0| 69 73 20 22 41 62 6f 75 | 74 20 48 79 70 65 72 43 |is "Abou|t HyperC|
|00002d00| 61 72 64 2e 2e 2e 22 20 | 74 68 65 6e 0d 68 69 64 |ard..." |then.hid|
|00002d10| 65 20 6d 73 67 0d 70 69 | 63 74 75 72 65 20 32 34 |e msg.pi|cture 24|
|00002d20| 30 30 30 2c 72 65 73 6f | 75 72 63 65 2c 72 65 63 |000,reso|urce,rec|
|00002d30| 74 2c 74 72 75 65 2c 30 | 0d 72 65 70 65 61 74 20 |t,true,0|.repeat |
|00002d40| 75 6e 74 69 6c 20 74 68 | 65 20 6d 6f 75 73 65 20 |until th|e mouse |
|00002d50| 69 73 20 64 6f 77 6e 0d | 65 6e 64 20 72 65 70 65 |is down.|end repe|
|00002d60| 61 74 0d 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |at.close| window |
|00002d70| 22 50 49 43 54 20 49 44 | 20 32 34 30 30 30 22 0d |"PICT ID| 24000".|
|00002d80| 73 68 6f 77 20 6d 73 67 | 0d 70 75 74 20 22 46 72 |show msg|.put "Fr|
|00002d90| 65 65 20 6d 65 6d 6f 72 | 79 3a 20 22 20 26 20 72 |ee memor|y: " & r|
|00002da0| 6f 75 6e 64 28 74 68 65 | 20 68 65 61 70 73 70 61 |ound(the| heapspa|
|00002db0| 63 65 2f 31 30 30 30 29 | 20 26 20 22 4b 2e 22 0d |ce/1000)| & "K.".|
|00002dc0| 65 6e 64 20 69 66 0d 0d | 69 66 20 63 68 6f 69 63 |end if..|if choic|
|00002dd0| 65 20 69 73 20 22 53 61 | 76 65 20 61 20 43 6f 70 |e is "Sa|ve a Cop|
|00002de0| 79 2e 2e 2e 22 20 74 68 | 65 6e 0d 70 75 74 20 74 |y..." th|en.put t|
|00002df0| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00002e00| 20 74 68 69 73 20 73 74 | 61 63 6b 20 69 6e 74 6f | this st|ack into|
|00002e10| 20 6f 6c 64 4e 61 6d 65 | 0d 61 73 6b 20 66 69 6c | oldName|.ask fil|
|00002e20| 65 20 22 53 61 76 65 20 | 61 20 63 6f 70 79 20 6f |e "Save |a copy o|
|00002e30| 66 20 73 74 61 63 6b 20 | 61 73 3a 22 20 77 69 74 |f stack |as:" wit|
|00002e40| 68 20 6f 6c 64 4e 61 6d | 65 26 26 22 63 6f 70 79 |h oldNam|e&&"copy|
|00002e50| 22 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |".if the| result |
|00002e60| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00002e70| 6e 0d 52 65 70 6c 6f 74 | 57 61 76 65 0d 65 78 69 |n.Replot|Wave.exi|
|00002e80| 74 20 64 6f 4d 65 6e 75 | 20 20 2d 2d 20 43 61 6e |t doMenu| -- Can|
|00002e90| 63 65 6c 3f 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |cel?.end| if.put |
|00002ea0| 69 74 20 69 6e 74 6f 20 | 6e 65 77 4e 61 6d 65 0d |it into |newName.|
|00002eb0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 73 |.if ther|e is a s|
|00002ec0| 74 61 63 6b 20 6e 65 77 | 4e 61 6d 65 20 74 68 65 |tack new|Name the|
|00002ed0| 6e 0d 44 65 6c 65 74 65 | 46 69 6c 65 20 6e 65 77 |n.Delete|File new|
|00002ee0| 4e 61 6d 65 20 2d 2d 20 | 6f 72 20 73 61 76 65 20 |Name -- |or save |
|00002ef0| 77 6f 6e 27 74 20 77 6f | 72 6b 0d 69 66 20 58 43 |won't wo|rk.if XC|
|00002f00| 4d 44 45 72 72 3c 3e 30 | 20 74 68 65 6e 0d 45 72 |MDErr<>0| then.Er|
|00002f10| 72 4e 75 6d 20 58 43 4d | 44 45 72 72 0d 65 78 69 |rNum XCM|DErr.exi|
|00002f20| 74 20 64 6f 4d 65 6e 75 | 0d 65 6e 64 20 69 66 0d |t doMenu|.end if.|
|00002f30| 65 6e 64 20 69 66 0d 0d | 73 61 76 65 20 74 68 69 |end if..|save thi|
|00002f40| 73 20 73 74 61 63 6b 20 | 61 73 20 6e 65 77 4e 61 |s stack |as newNa|
|00002f50| 6d 65 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |me.if th|e result|
|00002f60| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00002f70| 65 6e 0d 45 72 72 4e 75 | 6d 20 37 32 20 20 2d 2d |en.ErrNu|m 72 --|
|00002f80| 20 66 69 6c 65 2d 72 65 | 6c 61 74 65 64 20 65 72 | file-re|lated er|
|00002f90| 72 6f 72 0d 65 78 69 74 | 20 64 6f 4d 65 6e 75 0d |ror.exit| doMenu.|
|00002fa0| 65 6e 64 20 69 66 0d 73 | 65 74 48 43 49 62 69 74 |end if.s|etHCIbit|
|00002fb0| 20 6e 65 77 4e 61 6d 65 | 0d 52 65 70 6c 6f 74 57 | newName|.ReplotW|
|00002fc0| 61 76 65 0d 65 78 69 74 | 20 64 6f 4d 65 6e 75 0d |ave.exit| doMenu.|
|00002fd0| 65 6e 64 20 69 66 0d 0d | 70 61 73 73 20 64 6f 4d |end if..|pass doM|
|00002fe0| 65 6e 75 20 20 2d 2d 20 | 70 61 73 73 20 74 68 65 |enu -- |pass the|
|00002ff0| 20 64 6f 4d 65 6e 75 20 | 6d 65 73 73 61 67 65 0d | doMenu |message.|
|00003000| 65 6e 64 20 64 6f 4d 65 | 6e 75 0d 0d 6f 6e 20 6e |end doMe|nu..on n|
|00003010| 65 77 52 6f 6f 74 0d 2d | 2d 20 63 72 65 61 74 65 |ewRoot.-|- create|
|00003020| 20 61 6e 64 20 6c 69 6e | 6b 20 61 20 6e 65 77 20 | and lin|k a new |
|00003030| 72 6f 6f 74 20 63 61 72 | 64 0d 73 65 74 20 63 75 |root car|d.set cu|
|00003040| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 73 65 |rsor to |watch.se|
|00003050| 74 20 6c 6f 63 6b 73 63 | 72 65 65 6e 20 74 6f 20 |t locksc|reen to |
|00003060| 74 72 75 65 0d 0d 67 6f | 20 74 6f 20 63 61 72 64 |true..go| to card|
|00003070| 20 22 53 74 64 52 6f 6f | 74 43 61 72 64 22 20 20 | "StdRoo|tCard" |
|00003080| 2d 2d 20 63 72 65 61 74 | 65 20 61 20 63 61 72 64 |-- creat|e a card|
|00003090| 20 77 69 74 68 20 74 68 | 69 73 20 62 6b 67 6e 64 | with th|is bkgnd|
|000030a0| 0d 64 6f 4d 65 6e 75 20 | 22 4e 65 77 20 43 61 72 |.doMenu |"New Car|
|000030b0| 64 22 0d 0d 67 65 74 20 | 74 68 65 20 61 62 62 72 |d"..get |the abbr|
|000030c0| 65 76 20 64 61 74 65 20 | 20 2d 2d 20 73 74 61 6d |ev date | -- stam|
|000030d0| 70 20 63 72 65 61 74 69 | 6f 6e 20 64 61 74 65 0d |p creati|on date.|
|000030e0| 70 75 74 20 69 74 65 6d | 20 32 20 6f 66 20 69 74 |put item| 2 of it|
|000030f0| 20 26 20 22 2c 22 20 26 | 20 69 74 65 6d 20 33 20 | & "," &| item 3 |
|00003100| 6f 66 20 69 74 20 69 6e | 74 6f 20 66 69 65 6c 64 |of it in|to field|
|00003110| 20 22 63 72 65 61 74 65 | 64 22 0d 0d 2d 2d 20 75 | "create|d"..-- u|
|00003120| 70 64 61 74 65 20 74 68 | 65 20 6d 61 73 74 65 72 |pdate th|e master|
|00003130| 20 72 6f 6f 74 20 6c 69 | 73 74 20 69 6e 20 22 48 | root li|st in "H|
|00003140| 6f 6d 65 43 61 72 64 22 | 0d 67 65 74 20 74 68 65 |omeCard"|.get the|
|00003150| 20 73 68 6f 72 74 20 69 | 64 20 6f 66 20 63 61 72 | short i|d of car|
|00003160| 64 0d 70 75 74 20 69 74 | 20 26 20 72 65 74 75 72 |d.put it| & retur|
|00003170| 6e 20 61 66 74 65 72 20 | 63 61 72 64 20 66 69 65 |n after |card fie|
|00003180| 6c 64 20 22 72 6f 6f 74 | 4c 69 73 74 22 20 6f 66 |ld "root|List" of|
|00003190| 20 63 61 72 64 20 22 48 | 6f 6d 65 43 61 72 64 22 | card "H|omeCard"|
|000031a0| 0d 2d 2d 20 66 69 72 73 | 74 20 6c 69 6e 65 20 6f |.-- firs|t line o|
|000031b0| 66 20 74 72 61 63 65 4c | 69 73 74 20 66 69 65 6c |f traceL|ist fiel|
|000031c0| 64 20 69 73 20 74 68 69 | 73 20 72 6f 6f 74 27 73 |d is thi|s root's|
|000031d0| 20 73 68 6f 72 74 20 69 | 64 0d 70 75 74 20 69 74 | short i|d.put it|
|000031e0| 20 26 20 72 65 74 75 72 | 6e 20 69 6e 74 6f 20 66 | & retur|n into f|
|000031f0| 69 65 6c 64 20 22 74 72 | 61 63 65 4c 69 73 74 22 |ield "tr|aceList"|
|00003200| 0d 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 66 69 65 |..put 0 |into fie|
|00003210| 6c 64 20 22 74 72 61 63 | 65 54 6f 74 61 6c 22 20 |ld "trac|eTotal" |
|00003220| 20 2d 2d 20 6e 65 77 20 | 72 6f 6f 74 20 68 61 73 | -- new |root has|
|00003230| 20 6e 6f 20 74 72 61 63 | 65 73 0d 2d 2d 20 75 70 | no trac|es.-- up|
|00003240| 64 61 74 65 20 6e 6f 2e | 20 6f 66 20 72 6f 6f 74 |date no.| of root|
|00003250| 73 0d 61 64 64 20 31 20 | 74 6f 20 63 61 72 64 20 |s.add 1 |to card |
|00003260| 66 69 65 6c 64 20 22 54 | 6f 74 61 6c 52 6f 6f 74 |field "T|otalRoot|
|00003270| 73 22 20 6f 66 20 63 61 | 72 64 20 22 48 6f 6d 65 |s" of ca|rd "Home|
|00003280| 43 61 72 64 22 0d 67 65 | 74 20 63 61 72 64 20 66 |Card".ge|t card f|
|00003290| 69 65 6c 64 20 22 54 6f | 74 61 6c 52 6f 6f 74 73 |ield "To|talRoots|
|000032a0| 22 20 6f 66 20 63 61 72 | 64 20 22 48 6f 6d 65 43 |" of car|d "HomeC|
|000032b0| 61 72 64 22 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |ard".put| it into|
|000032c0| 20 62 67 20 66 6c 64 20 | 22 52 6f 6f 74 4e 6f 22 | bg fld |"RootNo"|
|000032d0| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 62 67 20 |.put it |into bg |
|000032e0| 66 6c 64 20 22 52 6f 6f | 74 54 6f 74 61 6c 22 20 |fld "Roo|tTotal" |
|000032f0| 20 2d 2d 20 52 6f 6f 74 | 54 6f 74 61 6c 20 69 73 | -- Root|Total is|
|00003300| 20 61 20 73 68 61 72 65 | 64 20 66 6c 64 0d 0d 73 | a share|d fld..s|
|00003310| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 72 6f |et curso|r to bro|
|00003320| 77 73 65 0d 73 65 74 20 | 6c 6f 63 6b 73 63 72 65 |wse.set |lockscre|
|00003330| 65 6e 20 74 6f 20 66 61 | 6c 73 65 0d 2d 2d 20 73 |en to fa|lse.-- s|
|00003340| 65 74 20 69 6e 73 65 72 | 74 69 6f 6e 20 70 6f 69 |et inser|tion poi|
|00003350| 6e 74 20 61 74 20 66 69 | 72 73 74 20 6c 69 6e 65 |nt at fi|rst line|
|00003360| 0d 73 65 6e 64 20 6f 70 | 65 6e 43 61 72 64 20 74 |.send op|enCard t|
|00003370| 6f 20 63 61 72 64 20 2d | 2d 20 69 6e 69 74 69 61 |o card -|- initia|
|00003380| 6c 69 7a 65 20 66 69 65 | 6c 64 73 20 26 20 62 75 |lize fie|lds & bu|
|00003390| 74 74 6f 6e 73 0d 0d 67 | 65 74 20 63 61 72 64 20 |ttons..g|et card |
|000033a0| 66 69 65 6c 64 20 22 73 | 74 64 43 6f 6d 6d 65 6e |field "s|tdCommen|
|000033b0| 74 22 20 69 6e 20 63 61 | 72 64 20 22 73 74 64 52 |t" in ca|rd "stdR|
|000033c0| 6f 6f 74 43 6f 6d 6d 65 | 6e 74 22 0d 70 75 74 20 |ootComme|nt".put |
|000033d0| 69 74 20 69 6e 74 6f 20 | 62 67 20 66 69 65 6c 64 |it into |bg field|
|000033e0| 20 22 43 6f 6d 6d 65 6e | 74 46 69 65 6c 64 22 0d | "Commen|tField".|
|000033f0| 73 65 6c 65 63 74 20 61 | 66 74 65 72 20 6c 61 73 |select a|fter las|
|00003400| 74 20 63 68 61 72 20 69 | 6e 20 66 69 65 6c 64 20 |t char i|n field |
|00003410| 22 74 69 74 6c 65 46 69 | 65 6c 64 22 0d 65 6e 64 |"titleFi|eld".end|
|00003420| 20 6e 65 77 52 6f 6f 74 | 0d 0d 6f 6e 20 50 6c 6f | newRoot|..on Plo|
|00003430| 74 44 61 74 61 20 74 68 | 65 44 61 74 61 2c 58 6d |tData th|eData,Xm|
|00003440| 69 6e 2c 58 6d 61 78 2c | 59 6d 69 6e 2c 59 6d 61 |in,Xmax,|Ymin,Yma|
|00003450| 78 2c 67 72 69 64 44 6f | 74 73 0d 2d 2d 20 76 61 |x,gridDo|ts.-- va|
|00003460| 6c 75 65 73 20 61 72 65 | 20 69 6e 20 27 74 68 65 |lues are| in 'the|
|00003470| 44 61 74 61 27 20 69 6e | 20 74 68 65 20 66 6f 72 |Data' in| the for|
|00003480| 6d 20 78 2c 79 20 70 61 | 69 72 73 0d 2d 2d 20 72 |m x,y pa|irs.-- r|
|00003490| 61 6e 67 65 20 6f 66 20 | 64 61 74 61 20 70 61 73 |ange of |data pas|
|000034a0| 73 65 64 20 69 6e 20 58 | 6d 69 6e 2c 58 6d 61 78 |sed in X|min,Xmax|
|000034b0| 2c 59 6d 69 6e 2c 59 6d | 61 78 0d 2d 2d 20 70 6c |,Ymin,Ym|ax.-- pl|
|000034c0| 6f 74 73 20 74 68 69 73 | 20 64 61 74 61 20 6f 6e |ots this| data on|
|000034d0| 20 63 75 72 72 65 6e 74 | 20 63 61 72 64 20 77 69 | current| card wi|
|000034e0| 74 68 6f 75 74 20 65 72 | 61 73 69 6e 67 20 70 72 |thout er|asing pr|
|000034f0| 65 73 65 6e 74 20 67 72 | 61 70 68 69 63 0d 2d 2d |esent gr|aphic.--|
|00003500| 20 64 72 61 77 73 20 62 | 6f 72 64 65 72 20 72 65 | draws b|order re|
|00003510| 63 74 0d 2d 2d 20 72 65 | 64 72 61 77 73 20 67 72 |ct.-- re|draws gr|
|00003520| 69 64 20 64 6f 74 73 20 | 26 20 6c 65 67 65 6e 64 |id dots |& legend|
|00003530| 73 20 69 66 20 67 72 69 | 64 44 6f 74 73 20 69 73 |s if gri|dDots is|
|00003540| 20 74 72 75 65 2e 20 53 | 65 74 20 74 68 69 73 20 | true. S|et this |
|00003550| 74 6f 20 66 61 6c 73 65 | 0d 2d 2d 20 66 6f 72 20 |to false|.-- for |
|00003560| 6f 76 65 72 6c 61 79 20 | 67 72 61 70 68 73 20 61 |overlay |graphs a|
|00003570| 73 20 74 68 69 73 20 70 | 61 72 74 20 74 61 6b 65 |s this p|art take|
|00003580| 73 20 6c 6f 6e 67 0d 0d | 73 65 74 20 66 69 6c 6c |s long..|set fill|
|00003590| 65 64 20 74 6f 20 66 61 | 6c 73 65 0d 63 68 6f 6f |ed to fa|lse.choo|
|000035a0| 73 65 20 72 65 63 74 20 | 74 6f 6f 6c 0d 70 75 74 |se rect |tool.put|
|000035b0| 20 33 37 20 69 6e 74 6f | 20 58 6c 6f 0d 70 75 74 | 37 into| Xlo.put|
|000035c0| 20 32 30 20 69 6e 74 6f | 20 59 6c 6f 0d 70 75 74 | 20 into| Ylo.put|
|000035d0| 20 35 30 30 20 69 6e 74 | 6f 20 58 68 69 0d 70 75 | 500 int|o Xhi.pu|
|000035e0| 74 20 33 30 30 20 69 6e | 74 6f 20 59 68 69 0d 64 |t 300 in|to Yhi.d|
|000035f0| 72 61 67 20 66 72 6f 6d | 20 58 6c 6f 2c 59 6c 6f |rag from| Xlo,Ylo|
|00003600| 20 74 6f 20 58 68 69 2c | 59 68 69 0d 0d 0d 70 75 | to Xhi,|Yhi...pu|
|00003610| 74 20 28 58 68 69 2d 58 | 6c 6f 29 2f 28 58 6d 61 |t (Xhi-X|lo)/(Xma|
|00003620| 78 2d 58 6d 69 6e 29 20 | 69 6e 74 6f 20 73 63 61 |x-Xmin) |into sca|
|00003630| 6c 65 58 0d 70 75 74 20 | 28 59 6c 6f 2d 59 68 69 |leX.put |(Ylo-Yhi|
|00003640| 29 2f 28 59 6d 61 78 2d | 59 6d 69 6e 29 20 69 6e |)/(Ymax-|Ymin) in|
|00003650| 74 6f 20 73 63 61 6c 65 | 59 0d 0d 70 75 74 20 58 |to scale|Y..put X|
|00003660| 6c 6f 2d 73 63 61 6c 65 | 58 2a 58 6d 69 6e 20 69 |lo-scale|X*Xmin i|
|00003670| 6e 74 6f 20 6f 66 66 73 | 65 74 58 0d 70 75 74 20 |nto offs|etX.put |
|00003680| 59 68 69 2d 59 6d 69 6e | 2a 73 63 61 6c 65 59 20 |Yhi-Ymin|*scaleY |
|00003690| 69 6e 74 6f 20 6f 66 66 | 73 65 74 59 0d 0d 0d 2d |into off|setY...-|
|000036a0| 2d 20 70 6c 6f 74 20 74 | 68 65 20 67 72 69 64 20 |- plot t|he grid |
|000036b0| 64 6f 74 73 0d 69 66 20 | 67 72 69 64 44 6f 74 73 |dots.if |gridDots|
|000036c0| 20 69 73 20 74 72 75 65 | 20 74 68 65 6e 0d 70 75 | is true| then.pu|
|000036d0| 74 20 28 59 6d 61 78 2d | 59 6d 69 6e 29 2f 31 30 |t (Ymax-|Ymin)/10|
|000036e0| 20 69 6e 74 6f 20 73 74 | 65 70 59 0d 70 75 74 20 | into st|epY.put |
|000036f0| 28 58 6d 61 78 2d 58 6d | 69 6e 29 2f 31 30 20 69 |(Xmax-Xm|in)/10 i|
|00003700| 6e 74 6f 20 73 74 65 70 | 58 0d 73 65 74 20 70 61 |nto step|X.set pa|
|00003710| 74 74 65 72 6e 20 74 6f | 20 31 32 20 20 2d 2d 20 |ttern to| 12 -- |
|00003720| 62 6c 61 63 6b 0d 70 75 | 74 20 59 6d 69 6e 20 69 |black.pu|t Ymin i|
|00003730| 6e 74 6f 20 76 0d 63 68 | 6f 6f 73 65 20 6c 69 6e |nto v.ch|oose lin|
|00003740| 65 20 74 6f 6f 6c 20 20 | 2d 2d 20 67 72 69 64 20 |e tool |-- grid |
|00003750| 64 6f 74 73 0d 72 65 70 | 65 61 74 20 75 6e 74 69 |dots.rep|eat unti|
|00003760| 6c 20 76 20 3e 3d 20 59 | 6d 61 78 0d 61 64 64 20 |l v >= Y|max.add |
|00003770| 73 74 65 70 59 20 74 6f | 20 76 20 20 2d 2d 20 76 |stepY to| v -- v|
|00003780| 65 72 74 20 73 70 61 63 | 69 6e 67 20 6f 66 20 67 |ert spac|ing of g|
|00003790| 72 69 64 20 64 6f 74 73 | 0d 70 75 74 20 72 6f 75 |rid dots|.put rou|
|000037a0| 6e 64 28 76 20 2a 20 73 | 63 61 6c 65 59 20 2b 20 |nd(v * s|caleY + |
|000037b0| 6f 66 66 73 65 74 59 29 | 20 69 6e 74 6f 20 79 31 |offsetY)| into y1|
|000037c0| 0d 70 75 74 20 58 6d 69 | 6e 20 69 6e 74 6f 20 68 |.put Xmi|n into h|
|000037d0| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 68 20 |.repeat |until h |
|000037e0| 3e 3d 20 58 6d 61 78 0d | 61 64 64 20 73 74 65 70 |>= Xmax.|add step|
|000037f0| 58 20 74 6f 20 68 0d 70 | 75 74 20 72 6f 75 6e 64 |X to h.p|ut round|
|00003800| 28 68 2a 73 63 61 6c 65 | 58 20 2b 20 6f 66 66 73 |(h*scale|X + offs|
|00003810| 65 74 58 29 20 69 6e 74 | 6f 20 78 31 0d 63 6c 69 |etX) int|o x1.cli|
|00003820| 63 6b 20 61 74 20 78 31 | 2c 79 31 0d 65 6e 64 20 |ck at x1|,y1.end |
|00003830| 72 65 70 65 61 74 0d 65 | 6e 64 20 72 65 70 65 61 |repeat.e|nd repea|
|00003840| 74 0d 0d 63 68 6f 6f 73 | 65 20 74 65 78 74 20 74 |t..choos|e text t|
|00003850| 6f 6f 6c 0d 0d 2d 2d 20 | 79 2d 61 78 69 73 20 6c |ool..-- |y-axis l|
|00003860| 61 62 65 6c 73 0d 73 65 | 74 20 74 68 65 20 74 65 |abels.se|t the te|
|00003870| 78 74 53 69 7a 65 20 74 | 6f 20 39 0d 73 65 74 20 |xtSize t|o 9.set |
|00003880| 6e 75 6d 62 65 72 46 6f | 72 6d 61 74 20 74 6f 20 |numberFo|rmat to |
|00003890| 22 30 2e 30 22 0d 70 75 | 74 20 59 6d 69 6e 20 69 |"0.0".pu|t Ymin i|
|000038a0| 6e 74 6f 20 76 0d 72 65 | 70 65 61 74 20 75 6e 74 |nto v.re|peat unt|
|000038b0| 69 6c 20 76 20 3e 20 59 | 6d 61 78 0d 70 75 74 20 |il v > Y|max.put |
|000038c0| 72 6f 75 6e 64 28 76 20 | 2a 20 73 63 61 6c 65 59 |round(v |* scaleY|
|000038d0| 20 2b 20 6f 66 66 73 65 | 74 59 29 20 69 6e 74 6f | + offse|tY) into|
|000038e0| 20 79 31 0d 63 6c 69 63 | 6b 20 61 74 20 33 2c 79 | y1.clic|k at 3,y|
|000038f0| 31 2b 35 0d 74 79 70 65 | 20 76 0d 61 64 64 20 73 |1+5.type| v.add s|
|00003900| 74 65 70 59 20 74 6f 20 | 76 20 20 2d 2d 20 76 65 |tepY to |v -- ve|
|00003910| 72 74 20 73 70 61 63 69 | 6e 67 20 6f 66 20 67 72 |rt spaci|ng of gr|
|00003920| 69 64 20 64 6f 74 73 0d | 65 6e 64 20 72 65 70 65 |id dots.|end repe|
|00003930| 61 74 0d 0d 2d 2d 20 78 | 2d 61 78 69 73 20 6c 61 |at..-- x|-axis la|
|00003940| 62 65 6c 73 0d 73 65 74 | 20 6e 75 6d 62 65 72 46 |bels.set| numberF|
|00003950| 6f 72 6d 61 74 20 74 6f | 20 22 30 22 0d 70 75 74 |ormat to| "0".put|
|00003960| 20 58 6d 69 6e 20 69 6e | 74 6f 20 68 0d 72 65 70 | Xmin in|to h.rep|
|00003970| 65 61 74 20 75 6e 74 69 | 6c 20 68 20 3e 20 58 6d |eat unti|l h > Xm|
|00003980| 61 78 0d 70 75 74 20 72 | 6f 75 6e 64 28 68 2a 73 |ax.put r|ound(h*s|
|00003990| 63 61 6c 65 58 20 2b 20 | 6f 66 66 73 65 74 58 29 |caleX + |offsetX)|
|000039a0| 20 69 6e 74 6f 20 78 31 | 0d 63 6c 69 63 6b 20 61 | into x1|.click a|
|000039b0| 74 20 78 31 2d 35 2c 59 | 68 69 2b 31 35 0d 74 79 |t x1-5,Y|hi+15.ty|
|000039c0| 70 65 20 68 0d 61 64 64 | 20 73 74 65 70 58 20 74 |pe h.add| stepX t|
|000039d0| 6f 20 68 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 0d |o h.end |repeat..|
|000039e0| 65 6e 64 20 69 66 0d 0d | 73 65 74 20 66 69 6c 6c |end if..|set fill|
|000039f0| 65 64 20 74 6f 20 74 72 | 75 65 0d 0d 2d 2d 20 70 |ed to tr|ue..-- p|
|00003a00| 6c 6f 74 20 74 68 65 20 | 64 61 74 61 20 70 6f 69 |lot the |data poi|
|00003a10| 6e 74 73 0d 67 65 74 20 | 69 74 65 6d 20 31 20 69 |nts.get |item 1 i|
|00003a20| 6e 20 6c 69 6e 65 20 31 | 20 69 6e 20 74 68 65 44 |n line 1| in theD|
|00003a30| 61 74 61 20 20 2d 2d 20 | 74 69 6d 65 20 69 6e 20 |ata -- |time in |
|00003a40| 6d 69 6e 0d 70 75 74 20 | 72 6f 75 6e 64 28 69 74 |min.put |round(it|
|00003a50| 2a 73 63 61 6c 65 58 20 | 2b 20 6f 66 66 73 65 74 |*scaleX |+ offset|
|00003a60| 58 29 20 69 6e 74 6f 20 | 78 31 0d 67 65 74 20 69 |X) into |x1.get i|
|00003a70| 74 65 6d 20 32 20 69 6e | 20 6c 69 6e 65 20 31 20 |tem 2 in| line 1 |
|00003a80| 69 6e 20 74 68 65 44 61 | 74 61 20 20 2d 2d 20 61 |in theDa|ta -- a|
|00003a90| 72 65 61 20 30 20 74 6f | 20 31 0d 70 75 74 20 72 |rea 0 to| 1.put r|
|00003aa0| 6f 75 6e 64 28 69 74 20 | 2a 20 73 63 61 6c 65 59 |ound(it |* scaleY|
|00003ab0| 20 2b 20 6f 66 66 73 65 | 74 59 29 20 69 6e 74 6f | + offse|tY) into|
|00003ac0| 20 79 31 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 | y1.repe|at with |
|00003ad0| 6a 3d 32 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |j=2 to t|he numbe|
|00003ae0| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 74 68 |r of lin|es in th|
|00003af0| 65 44 61 74 61 0d 67 65 | 74 20 69 74 65 6d 20 31 |eData.ge|t item 1|
|00003b00| 20 69 6e 20 6c 69 6e 65 | 20 6a 20 69 6e 20 74 68 | in line| j in th|
|00003b10| 65 44 61 74 61 20 20 2d | 2d 20 74 69 6d 65 20 69 |eData -|- time i|
|00003b20| 6e 20 6d 69 6e 0d 70 75 | 74 20 72 6f 75 6e 64 28 |n min.pu|t round(|
|00003b30| 69 74 2a 73 63 61 6c 65 | 58 20 2b 20 6f 66 66 73 |it*scale|X + offs|
|00003b40| 65 74 58 29 20 69 6e 74 | 6f 20 78 32 0d 67 65 74 |etX) int|o x2.get|
|00003b50| 20 69 74 65 6d 20 32 20 | 69 6e 20 6c 69 6e 65 20 | item 2 |in line |
|00003b60| 6a 20 69 6e 20 74 68 65 | 44 61 74 61 20 20 2d 2d |j in the|Data --|
|00003b70| 20 61 72 65 61 20 30 20 | 74 6f 20 31 0d 70 75 74 | area 0 |to 1.put|
|00003b80| 20 72 6f 75 6e 64 28 69 | 74 20 2a 20 73 63 61 6c | round(i|t * scal|
|00003b90| 65 59 20 2b 20 6f 66 66 | 73 65 74 59 29 20 69 6e |eY + off|setY) in|
|00003ba0| 74 6f 20 79 32 0d 0d 63 | 68 6f 6f 73 65 20 6c 69 |to y2..c|hoose li|
|00003bb0| 6e 65 20 74 6f 6f 6c 0d | 64 72 61 67 20 66 72 6f |ne tool.|drag fro|
|00003bc0| 6d 20 78 31 2c 79 31 20 | 74 6f 20 78 32 2c 79 32 |m x1,y1 |to x2,y2|
|00003bd0| 0d 0d 63 68 6f 6f 73 65 | 20 72 65 63 74 20 74 6f |..choose| rect to|
|00003be0| 6f 6c 0d 64 72 61 67 20 | 66 72 6f 6d 20 78 32 2d |ol.drag |from x2-|
|00003bf0| 31 2c 79 32 2d 31 20 74 | 6f 20 78 32 2b 31 2c 79 |1,y2-1 t|o x2+1,y|
|00003c00| 32 2b 31 0d 0d 70 75 74 | 20 78 32 20 69 6e 74 6f |2+1..put| x2 into|
|00003c10| 20 78 31 0d 70 75 74 20 | 79 32 20 69 6e 74 6f 20 | x1.put |y2 into |
|00003c20| 79 31 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 0d 63 |y1.end r|epeat..c|
|00003c30| 68 6f 6f 73 65 20 62 72 | 6f 77 73 65 20 74 6f 6f |hoose br|owse too|
|00003c40| 6c 0d 65 6e 64 20 50 6c | 6f 74 44 61 74 61 0d 0d |l.end Pl|otData..|
|00003c50| 6f 6e 20 64 6f 53 63 72 | 61 70 54 6f 54 61 62 0d |on doScr|apToTab.|
|00003c60| 67 6c 6f 62 61 6c 20 58 | 43 4d 44 45 72 72 0d 2d |global X|CMDErr.-|
|00003c70| 2d 20 63 6f 6e 76 65 72 | 74 20 63 6f 6e 74 65 6e |- conver|t conten|
|00003c80| 74 73 20 6f 66 20 63 6c | 69 70 62 6f 61 72 64 20 |ts of cl|ipboard |
|00003c90| 66 72 6f 6d 20 63 6f 6d | 6d 61 2d 20 74 6f 20 74 |from com|ma- to t|
|00003ca0| 61 62 2d 64 65 6c 69 6d | 69 74 65 64 20 74 61 62 |ab-delim|ited tab|
|00003cb0| 6c 65 20 66 6f 72 20 65 | 78 70 6f 72 74 0d 67 65 |le for e|xport.ge|
|00003cc0| 74 20 53 63 72 61 70 54 | 6f 54 61 62 20 28 29 0d |t ScrapT|oTab ().|
|00003cd0| 69 66 20 58 43 4d 44 45 | 72 72 3d 30 20 74 68 65 |if XCMDE|rr=0 the|
|00003ce0| 6e 0d 70 75 74 20 69 74 | 20 26 26 20 22 63 6f 6d |n.put it| && "com|
|00003cf0| 6d 61 73 20 6f 6e 20 63 | 6c 69 70 62 6f 61 72 64 |mas on c|lipboard|
|00003d00| 20 63 6f 6e 76 65 72 74 | 65 64 20 74 6f 20 74 61 | convert|ed to ta|
|00003d10| 62 73 2e 22 0d 65 6c 73 | 65 0d 45 72 72 4e 75 6d |bs.".els|e.ErrNum|
|00003d20| 20 58 43 4d 44 45 72 72 | 0d 65 6e 64 20 69 66 0d | XCMDErr|.end if.|
|00003d30| 65 6e 64 20 64 6f 53 63 | 72 61 70 54 6f 54 61 62 |end doSc|rapToTab|
|00003d40| 0d 0d 6f 6e 20 64 6f 53 | 63 72 61 70 54 6f 43 6f |..on doS|crapToCo|
|00003d50| 6d 6d 61 0d 67 6c 6f 62 | 61 6c 20 58 43 4d 44 45 |mma.glob|al XCMDE|
|00003d60| 72 72 0d 2d 2d 20 63 6f | 6e 76 65 72 74 20 63 6f |rr.-- co|nvert co|
|00003d70| 6e 74 65 6e 74 73 20 6f | 66 20 63 6c 69 70 62 6f |ntents o|f clipbo|
|00003d80| 61 72 64 20 66 72 6f 6d | 20 74 61 62 2d 20 74 6f |ard from| tab- to|
|00003d90| 20 63 6f 6d 6d 61 2d 64 | 65 6c 69 6d 69 74 65 64 | comma-d|elimited|
|00003da0| 20 74 61 62 6c 65 20 66 | 6f 72 20 69 6d 70 6f 72 | table f|or impor|
|00003db0| 74 20 74 6f 20 48 43 0d | 67 65 74 20 53 63 72 61 |t to HC.|get Scra|
|00003dc0| 70 54 6f 43 6f 6d 6d 61 | 28 29 0d 69 66 20 58 43 |pToComma|().if XC|
|00003dd0| 4d 44 45 72 72 3d 30 20 | 74 68 65 6e 0d 70 75 74 |MDErr=0 |then.put|
|00003de0| 20 69 74 20 26 26 20 22 | 74 61 62 73 20 6f 6e 20 | it && "|tabs on |
|00003df0| 63 6c 69 70 62 6f 61 72 | 64 20 63 6f 6e 76 65 72 |clipboar|d conver|
|00003e00| 74 65 64 20 74 6f 20 63 | 6f 6d 6d 61 73 2e 22 0d |ted to c|ommas.".|
|00003e10| 65 6c 73 65 0d 45 72 72 | 4e 75 6d 20 58 43 4d 44 |else.Err|Num XCMD|
|00003e20| 45 72 72 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 64 |Err.end |if.end d|
|00003e30| 6f 53 63 72 61 70 54 6f | 43 6f 6d 6d 61 0d 0d 66 |oScrapTo|Comma..f|
|00003e40| 75 6e 63 74 69 6f 6e 20 | 74 72 61 6e 73 6c 61 74 |unction |translat|
|00003e50| 65 54 6f 52 65 61 6c 20 | 69 2c 6d 69 6e 46 53 2c |eToReal |i,minFS,|
|00003e60| 6d 61 78 46 53 2c 77 61 | 76 65 54 79 70 65 0d 2d |maxFS,wa|veType.-|
|00003e70| 2d 20 67 69 76 65 6e 20 | 72 65 61 6c 20 66 75 6c |- given |real ful|
|00003e80| 6c 20 73 63 61 6c 65 20 | 72 61 6e 67 65 20 28 6d |l scale |range (m|
|00003e90| 69 6e 46 53 2c 6d 61 78 | 46 53 29 20 61 6e 64 20 |inFS,max|FS) and |
|00003ea0| 74 79 70 65 20 6f 66 20 | 64 61 74 61 20 28 65 2e |type of |data (e.|
|00003eb0| 67 2e 20 2d 31 32 2c 20 | 46 2c 20 31 32 29 0d 2d |g. -12, |F, 12).-|
|00003ec0| 2d 20 6c 69 6e 65 61 72 | 6c 79 20 74 72 61 6e 73 |- linear|ly trans|
|00003ed0| 6c 61 74 65 73 20 69 6e | 74 65 67 65 72 20 76 61 |lates in|teger va|
|00003ee0| 6c 75 65 20 69 20 66 72 | 6f 6d 20 41 44 43 2f 44 |lue i fr|om ADC/D|
|00003ef0| 41 43 20 69 6e 74 6f 20 | 72 65 61 6c 20 76 6f 6c |AC into |real vol|
|00003f00| 74 73 0d 0d 69 66 20 28 | 77 61 76 65 54 79 70 65 |ts..if (|waveType|
|00003f10| 3d 22 46 22 29 20 6f 72 | 20 28 77 61 76 65 54 79 |="F") or| (waveTy|
|00003f20| 70 65 3d 22 66 22 29 20 | 74 68 65 6e 0d 72 65 74 |pe="f") |then.ret|
|00003f30| 75 72 6e 20 69 20 20 2d | 2d 20 66 6c 6f 61 74 73 |urn i -|- floats|
|00003f40| 20 72 65 74 75 72 6e 65 | 64 20 61 73 20 69 73 0d | returne|d as is.|
|00003f50| 65 6c 73 65 0d 69 66 20 | 28 77 61 76 65 54 79 70 |else.if |(waveTyp|
|00003f60| 65 3c 2d 31 36 29 20 6f | 72 20 28 77 61 76 65 54 |e<-16) o|r (waveT|
|00003f70| 79 70 65 3e 31 36 29 20 | 6f 72 20 28 77 61 76 65 |ype>16) |or (wave|
|00003f80| 54 79 70 65 3d 30 29 20 | 74 68 65 6e 20 45 72 72 |Type=0) |then Err|
|00003f90| 4e 75 6d 20 34 33 20 20 | 2d 2d 20 62 61 64 20 77 |Num 43 |-- bad w|
|00003fa0| 61 76 65 54 79 70 65 0d | 65 6e 64 20 69 66 0d 0d |aveType.|end if..|
|00003fb0| 69 66 20 77 61 76 65 54 | 79 70 65 20 3c 20 30 20 |if waveT|ype < 0 |
|00003fc0| 74 68 65 6e 20 20 2d 2d | 20 32 73 20 63 6f 6d 70 |then --| 2s comp|
|00003fd0| 6c 65 6d 65 6e 74 20 62 | 69 6e 61 72 79 20 74 79 |lement b|inary ty|
|00003fe0| 70 65 0d 70 75 74 20 2d | 65 78 70 32 28 2d 77 61 |pe.put -|exp2(-wa|
|00003ff0| 76 65 54 79 70 65 2d 31 | 29 20 69 6e 74 6f 20 6d |veType-1|) into m|
|00004000| 69 6e 49 6e 74 56 61 6c | 0d 70 75 74 20 65 78 70 |inIntVal|.put exp|
|00004010| 32 28 2d 77 61 76 65 54 | 79 70 65 2d 31 29 2d 31 |2(-waveT|ype-1)-1|
|00004020| 20 69 6e 74 6f 20 6d 61 | 78 49 6e 74 56 61 6c 0d | into ma|xIntVal.|
|00004030| 65 6c 73 65 20 20 2d 2d | 20 73 74 72 61 69 67 68 |else --| straigh|
|00004040| 74 20 62 69 6e 61 72 79 | 20 74 79 70 65 0d 70 75 |t binary| type.pu|
|00004050| 74 20 20 30 20 69 6e 74 | 6f 20 6d 69 6e 49 6e 74 |t 0 int|o minInt|
|00004060| 56 61 6c 0d 70 75 74 20 | 65 78 70 32 28 2d 77 61 |Val.put |exp2(-wa|
|00004070| 76 65 54 79 70 65 29 2d | 31 20 69 6e 74 6f 20 6d |veType)-|1 into m|
|00004080| 61 78 49 6e 74 56 61 6c | 0d 65 6e 64 20 69 66 0d |axIntVal|.end if.|
|00004090| 0d 2d 2d 20 6c 69 6e 65 | 61 72 20 74 72 61 6e 73 |.-- line|ar trans|
|000040a0| 66 65 72 20 66 6e 0d 70 | 75 74 20 28 6d 61 78 46 |fer fn.p|ut (maxF|
|000040b0| 53 2d 6d 69 6e 46 53 29 | 2f 28 6d 61 78 49 6e 74 |S-minFS)|/(maxInt|
|000040c0| 56 61 6c 2d 6d 69 6e 49 | 6e 74 56 61 6c 29 20 69 |Val-minI|ntVal) i|
|000040d0| 6e 74 6f 20 6d 0d 70 75 | 74 20 6d 69 6e 46 53 2d |nto m.pu|t minFS-|
|000040e0| 6d 2a 6d 69 6e 49 6e 74 | 56 61 6c 20 69 6e 74 6f |m*minInt|Val into|
|000040f0| 20 62 0d 0d 72 65 74 75 | 72 6e 20 69 2a 6d 2b 62 | b..retu|rn i*m+b|
|00004100| 0d 65 6e 64 20 74 72 61 | 6e 73 6c 61 74 65 54 6f |.end tra|nslateTo|
|00004110| 52 65 61 6c 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 74 |Real..fu|nction t|
|00004120| 72 61 6e 73 6c 61 74 65 | 54 6f 42 69 6e 61 72 79 |ranslate|ToBinary|
|00004130| 20 72 2c 6d 69 6e 46 53 | 2c 6d 61 78 46 53 2c 62 | r,minFS|,maxFS,b|
|00004140| 69 6e 61 72 79 43 6f 64 | 69 6e 67 0d 2d 2d 20 67 |inaryCod|ing.-- g|
|00004150| 69 76 65 6e 20 72 65 61 | 6c 20 66 75 6c 6c 20 73 |iven rea|l full s|
|00004160| 63 61 6c 65 20 72 61 6e | 67 65 20 28 6d 69 6e 46 |cale ran|ge (minF|
|00004170| 53 2c 6d 61 78 46 53 29 | 20 61 6e 64 20 62 69 6e |S,maxFS)| and bin|
|00004180| 61 72 79 20 63 6f 64 69 | 6e 67 20 73 63 68 65 6d |ary codi|ng schem|
|00004190| 65 20 28 65 2e 67 2e 20 | 2d 31 32 2c 31 32 29 0d |e (e.g. |-12,12).|
|000041a0| 2d 2d 20 6c 69 6e 65 61 | 72 6c 79 20 74 72 61 6e |-- linea|rly tran|
|000041b0| 73 6c 61 74 65 73 20 72 | 65 61 6c 20 76 6f 6c 74 |slates r|eal volt|
|000041c0| 61 67 65 20 72 20 74 6f | 20 41 44 43 2f 44 41 43 |age r to| ADC/DAC|
|000041d0| 20 62 69 6e 61 72 79 20 | 77 6f 72 64 0d 2d 2d 20 | binary |word.-- |
|000041e0| 72 65 74 75 72 6e 73 20 | 2b 31 30 30 30 30 30 20 |returns |+100000 |
|000041f0| 28 62 65 79 6f 6e 64 20 | 31 36 20 62 69 74 20 72 |(beyond |16 bit r|
|00004200| 61 6e 67 65 29 20 69 66 | 20 72 65 73 75 6c 74 20 |ange) if| result |
|00004210| 69 73 20 62 65 79 6f 6e | 64 20 72 61 6e 67 65 20 |is beyon|d range |
|00004220| 6f 66 20 62 69 6e 61 72 | 79 20 63 6f 64 69 6e 67 |of binar|y coding|
|00004230| 20 73 63 68 65 6d 65 0d | 2d 2d 20 69 66 20 62 69 | scheme.|-- if bi|
|00004240| 6e 61 72 79 43 6f 64 69 | 6e 67 20 69 73 20 22 46 |naryCodi|ng is "F|
|00004250| 22 20 28 69 2e 65 2e 20 | 66 6c 6f 61 74 29 2c 20 |" (i.e. |float), |
|00004260| 72 65 74 75 72 6e 73 20 | 72 20 75 6e 63 68 61 6e |returns |r unchan|
|00004270| 67 65 64 0d 0d 69 66 20 | 28 62 69 6e 61 72 79 43 |ged..if |(binaryC|
|00004280| 6f 64 69 6e 67 3d 22 46 | 22 29 20 74 68 65 6e 0d |oding="F|") then.|
|00004290| 72 65 74 75 72 6e 20 72 | 0d 65 78 69 74 20 74 72 |return r|.exit tr|
|000042a0| 61 6e 73 6c 61 74 65 54 | 6f 42 69 6e 61 72 79 0d |anslateT|oBinary.|
|000042b0| 65 6e 64 20 69 66 0d 0d | 69 66 20 28 62 69 6e 61 |end if..|if (bina|
|000042c0| 72 79 43 6f 64 69 6e 67 | 3c 2d 31 36 29 20 6f 72 |ryCoding|<-16) or|
|000042d0| 20 28 62 69 6e 61 72 79 | 43 6f 64 69 6e 67 3e 31 | (binary|Coding>1|
|000042e0| 36 29 20 6f 72 20 28 62 | 69 6e 61 72 79 43 6f 64 |6) or (b|inaryCod|
|000042f0| 69 6e 67 3d 30 29 20 74 | 68 65 6e 20 45 72 72 4e |ing=0) t|hen ErrN|
|00004300| 75 6d 20 34 33 20 20 2d | 2d 20 69 6c 6c 65 67 61 |um 43 -|- illega|
|00004310| 6c 0d 0d 69 66 20 62 69 | 6e 61 72 79 43 6f 64 69 |l..if bi|naryCodi|
|00004320| 6e 67 20 3c 20 30 20 74 | 68 65 6e 20 20 2d 2d 20 |ng < 0 t|hen -- |
|00004330| 32 73 20 63 6f 6d 70 6c | 65 6d 65 6e 74 20 62 69 |2s compl|ement bi|
|00004340| 6e 61 72 79 20 74 79 70 | 65 0d 70 75 74 20 2d 65 |nary typ|e.put -e|
|00004350| 78 70 32 28 2d 62 69 6e | 61 72 79 43 6f 64 69 6e |xp2(-bin|aryCodin|
|00004360| 67 2d 31 29 20 69 6e 74 | 6f 20 6d 69 6e 49 6e 74 |g-1) int|o minInt|
|00004370| 56 61 6c 0d 70 75 74 20 | 65 78 70 32 28 2d 62 69 |Val.put |exp2(-bi|
|00004380| 6e 61 72 79 43 6f 64 69 | 6e 67 2d 31 29 2d 31 20 |naryCodi|ng-1)-1 |
|00004390| 69 6e 74 6f 20 6d 61 78 | 49 6e 74 56 61 6c 0d 65 |into max|IntVal.e|
|000043a0| 6c 73 65 20 20 2d 2d 20 | 73 74 72 61 69 67 68 74 |lse -- |straight|
|000043b0| 20 62 69 6e 61 72 79 20 | 74 79 70 65 0d 70 75 74 | binary |type.put|
|000043c0| 20 20 30 20 69 6e 74 6f | 20 6d 69 6e 49 6e 74 56 | 0 into| minIntV|
|000043d0| 61 6c 0d 70 75 74 20 65 | 78 70 32 28 2d 62 69 6e |al.put e|xp2(-bin|
|000043e0| 61 72 79 43 6f 64 69 6e | 67 29 2d 31 20 69 6e 74 |aryCodin|g)-1 int|
|000043f0| 6f 20 6d 61 78 49 6e 74 | 56 61 6c 0d 65 6e 64 20 |o maxInt|Val.end |
|00004400| 69 66 0d 0d 2d 2d 20 6c | 69 6e 65 61 72 20 74 72 |if..-- l|inear tr|
|00004410| 61 6e 73 66 65 72 20 66 | 6e 0d 70 75 74 20 28 6d |ansfer f|n.put (m|
|00004420| 61 78 46 53 2d 6d 69 6e | 46 53 29 2f 28 6d 61 78 |axFS-min|FS)/(max|
|00004430| 49 6e 74 56 61 6c 2d 6d | 69 6e 49 6e 74 56 61 6c |IntVal-m|inIntVal|
|00004440| 29 20 69 6e 74 6f 20 6d | 0d 70 75 74 20 6d 69 6e |) into m|.put min|
|00004450| 46 53 2d 6d 2a 6d 69 6e | 49 6e 74 56 61 6c 20 69 |FS-m*min|IntVal i|
|00004460| 6e 74 6f 20 62 0d 0d 67 | 65 74 20 72 6f 75 6e 64 |nto b..g|et round|
|00004470| 28 28 72 2d 62 29 2f 6d | 29 0d 69 66 20 28 69 74 |((r-b)/m|).if (it|
|00004480| 3c 6d 69 6e 49 6e 74 56 | 61 6c 29 20 6f 72 20 28 |<minIntV|al) or (|
|00004490| 69 74 3e 6d 61 78 49 6e | 74 56 61 6c 29 20 74 68 |it>maxIn|tVal) th|
|000044a0| 65 6e 20 70 75 74 20 31 | 30 30 30 30 30 20 69 6e |en put 1|00000 in|
|000044b0| 74 6f 20 69 74 20 20 2d | 2d 20 6f 75 74 20 6f 66 |to it -|- out of|
|000044c0| 20 62 69 6e 61 72 79 20 | 72 61 6e 67 65 3f 0d 72 | binary |range?.r|
|000044d0| 65 74 75 72 6e 20 69 74 | 0d 65 6e 64 20 74 72 61 |eturn it|.end tra|
|000044e0| 6e 73 6c 61 74 65 54 6f | 42 69 6e 61 72 79 0d 0d |nslateTo|Binary..|
|000044f0| 66 75 6e 63 74 69 6f 6e | 20 67 65 74 57 61 76 65 |function| getWave|
|00004500| 54 79 70 65 20 74 68 65 | 57 61 76 65 0d 2d 2d 20 |Type the|Wave.-- |
|00004510| 72 65 74 75 72 6e 73 20 | 64 61 74 61 20 74 79 70 |returns |data typ|
|00004520| 65 20 6f 66 20 77 61 76 | 65 0d 67 65 74 20 63 68 |e of wav|e.get ch|
|00004530| 61 72 54 6f 4e 75 6d 28 | 63 68 61 72 20 31 20 6f |arToNum(|char 1 o|
|00004540| 66 20 74 68 65 57 61 76 | 65 29 0d 69 66 20 69 74 |f theWav|e).if it|
|00004550| 3d 31 20 74 68 65 6e 0d | 67 65 74 20 63 68 61 72 |=1 then.|get char|
|00004560| 54 6f 4e 75 6d 28 63 68 | 61 72 20 34 20 6f 66 20 |ToNum(ch|ar 4 of |
|00004570| 74 68 65 57 61 76 65 29 | 0d 69 66 20 69 74 20 3e |theWave)|.if it >|
|00004580| 20 31 32 37 20 74 68 65 | 6e 20 67 65 74 20 69 74 | 127 the|n get it|
|00004590| 2d 32 35 36 20 20 2d 2d | 20 73 69 67 6e 65 64 20 |-256 --| signed |
|000045a0| 62 79 74 65 0d 72 65 74 | 75 72 6e 20 69 74 20 20 |byte.ret|urn it |
|000045b0| 2d 2d 20 69 6e 74 65 67 | 65 72 20 77 61 76 65 0d |-- integ|er wave.|
|000045c0| 65 78 69 74 20 67 65 74 | 57 61 76 65 54 79 70 65 |exit get|WaveType|
|000045d0| 0d 65 6e 64 20 69 66 0d | 0d 69 66 20 69 74 3d 33 |.end if.|.if it=3|
|000045e0| 20 74 68 65 6e 0d 72 65 | 74 75 72 6e 20 22 46 22 | then.re|turn "F"|
|000045f0| 20 20 2d 2d 20 66 6c 6f | 61 74 20 77 61 76 65 0d | -- flo|at wave.|
|00004600| 65 78 69 74 20 67 65 74 | 57 61 76 65 54 79 70 65 |exit get|WaveType|
|00004610| 0d 65 6e 64 20 69 66 0d | 0d 45 72 72 4e 75 6d 20 |.end if.|.ErrNum |
|00004620| 33 34 20 20 2d 2d 20 75 | 6e 6b 6e 6f 77 6e 20 66 |34 -- u|nknown f|
|00004630| 6f 72 6d 61 74 0d 72 65 | 74 75 72 6e 20 65 6d 70 |ormat.re|turn emp|
|00004640| 74 79 0d 65 6e 64 20 67 | 65 74 57 61 76 65 54 79 |ty.end g|etWaveTy|
|00004650| 70 65 0d 0d 6f 6e 20 67 | 65 74 58 6d 61 67 0d 67 |pe..on g|etXmag.g|
|00004660| 6c 6f 62 61 6c 20 78 4d | 61 67 0d 61 73 6b 20 22 |lobal xM|ag.ask "|
|00004670| 45 6e 74 65 72 20 6e 65 | 77 20 58 20 6d 61 67 3a |Enter ne|w X mag:|
|00004680| 22 20 77 69 74 68 20 78 | 4d 61 67 0d 69 66 20 74 |" with x|Mag.if t|
|00004690| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 22 43 61 |he resul|t is "Ca|
|000046a0| 6e 63 65 6c 22 20 74 68 | 65 6e 20 65 78 69 74 20 |ncel" th|en exit |
|000046b0| 67 65 74 58 6d 61 67 0d | 70 75 74 20 69 74 20 69 |getXmag.|put it i|
|000046c0| 6e 74 6f 20 78 4d 61 67 | 0d 52 65 70 6c 6f 74 57 |nto xMag|.ReplotW|
|000046d0| 61 76 65 0d 75 70 64 61 | 74 65 5a 6f 6f 6d 43 68 |ave.upda|teZoomCh|
|000046e0| 65 63 6b 73 0d 65 6e 64 | 20 67 65 74 58 6d 61 67 |ecks.end| getXmag|
|000046f0| 0d 0d 6f 6e 20 67 65 74 | 59 6d 61 67 0d 67 6c 6f |..on get|Ymag.glo|
|00004700| 62 61 6c 20 79 4d 61 67 | 0d 61 73 6b 20 22 45 6e |bal yMag|.ask "En|
|00004710| 74 65 72 20 6e 65 77 20 | 59 20 6d 61 67 3a 22 20 |ter new |Y mag:" |
|00004720| 77 69 74 68 20 79 4d 61 | 67 0d 69 66 20 74 68 65 |with yMa|g.if the|
|00004730| 20 72 65 73 75 6c 74 20 | 69 73 20 22 43 61 6e 63 | result |is "Canc|
|00004740| 65 6c 22 20 74 68 65 6e | 20 65 78 69 74 20 67 65 |el" then| exit ge|
|00004750| 74 59 6d 61 67 0d 70 75 | 74 20 69 74 20 69 6e 74 |tYmag.pu|t it int|
|00004760| 6f 20 79 4d 61 67 0d 52 | 65 70 6c 6f 74 57 61 76 |o yMag.R|eplotWav|
|00004770| 65 0d 75 70 64 61 74 65 | 5a 6f 6f 6d 43 68 65 63 |e.update|ZoomChec|
|00004780| 6b 73 0d 65 6e 64 20 67 | 65 74 59 6d 61 67 0d 0d |ks.end g|etYmag..|
|00004790| 6f 6e 20 5a 6f 6f 6d 58 | 6f 6e 6c 79 0d 67 6c 6f |on ZoomX|only.glo|
|000047a0| 62 61 6c 20 78 4d 61 67 | 2c 79 4d 61 67 0d 70 75 |bal xMag|,yMag.pu|
|000047b0| 74 20 32 20 69 6e 74 6f | 20 78 4d 61 67 0d 70 75 |t 2 into| xMag.pu|
|000047c0| 74 20 31 20 69 6e 74 6f | 20 79 4d 61 67 0d 75 70 |t 1 into| yMag.up|
|000047d0| 64 61 74 65 5a 6f 6f 6d | 43 68 65 63 6b 73 0d 65 |dateZoom|Checks.e|
|000047e0| 6e 64 20 5a 6f 6f 6d 58 | 6f 6e 6c 79 0d 0d 6f 6e |nd ZoomX|only..on|
|000047f0| 20 5a 6f 6f 6d 59 6f 6e | 6c 79 0d 67 6c 6f 62 61 | ZoomYon|ly.globa|
|00004800| 6c 20 78 4d 61 67 2c 79 | 4d 61 67 0d 70 75 74 20 |l xMag,y|Mag.put |
|00004810| 31 20 69 6e 74 6f 20 78 | 4d 61 67 0d 70 75 74 20 |1 into x|Mag.put |
|00004820| 32 20 69 6e 74 6f 20 79 | 4d 61 67 0d 75 70 64 61 |2 into y|Mag.upda|
|00004830| 74 65 5a 6f 6f 6d 43 68 | 65 63 6b 73 0d 65 6e 64 |teZoomCh|ecks.end|
|00004840| 20 5a 6f 6f 6d 59 6f 6e | 6c 79 0d 0d 6f 6e 20 5a | ZoomYon|ly..on Z|
|00004850| 6f 6f 6d 58 59 0d 67 6c | 6f 62 61 6c 20 78 4d 61 |oomXY.gl|obal xMa|
|00004860| 67 2c 79 4d 61 67 0d 70 | 75 74 20 32 20 69 6e 74 |g,yMag.p|ut 2 int|
|00004870| 6f 20 78 4d 61 67 0d 70 | 75 74 20 32 20 69 6e 74 |o xMag.p|ut 2 int|
|00004880| 6f 20 79 4d 61 67 0d 75 | 70 64 61 74 65 5a 6f 6f |o yMag.u|pdateZoo|
|00004890| 6d 43 68 65 63 6b 73 0d | 65 6e 64 20 5a 6f 6f 6d |mChecks.|end Zoom|
|000048a0| 58 59 0d 0d 6f 6e 20 75 | 70 64 61 74 65 5a 6f 6f |XY..on u|pdateZoo|
|000048b0| 6d 43 68 65 63 6b 73 0d | 67 6c 6f 62 61 6c 20 78 |mChecks.|global x|
|000048c0| 4d 61 67 2c 79 4d 61 67 | 0d 73 65 74 20 74 68 65 |Mag,yMag|.set the|
|000048d0| 20 63 68 65 63 6b 4d 61 | 72 6b 20 6f 66 20 6d 65 | checkMa|rk of me|
|000048e0| 6e 75 49 74 65 6d 20 22 | 5a 6f 6f 6d 20 58 20 6f |nuItem "|Zoom X o|
|000048f0| 6e 6c 79 22 20 69 6e 20 | 6d 65 6e 75 20 22 41 6e |nly" in |menu "An|
|00004900| 61 6c 79 73 69 73 22 20 | 74 6f 20 46 41 4c 53 45 |alysis" |to FALSE|
|00004910| 0d 73 65 74 20 74 68 65 | 20 63 68 65 63 6b 4d 61 |.set the| checkMa|
|00004920| 72 6b 20 6f 66 20 6d 65 | 6e 75 49 74 65 6d 20 22 |rk of me|nuItem "|
|00004930| 5a 6f 6f 6d 20 59 20 6f | 6e 6c 79 22 20 69 6e 20 |Zoom Y o|nly" in |
|00004940| 6d 65 6e 75 20 22 41 6e | 61 6c 79 73 69 73 22 20 |menu "An|alysis" |
|00004950| 74 6f 20 46 41 4c 53 45 | 0d 73 65 74 20 74 68 65 |to FALSE|.set the|
|00004960| 20 63 68 65 63 6b 4d 61 | 72 6b 20 6f 66 20 6d 65 | checkMa|rk of me|
|00004970| 6e 75 49 74 65 6d 20 22 | 5a 6f 6f 6d 20 58 20 26 |nuItem "|Zoom X &|
|00004980| 20 59 22 20 69 6e 20 6d | 65 6e 75 20 22 41 6e 61 | Y" in m|enu "Ana|
|00004990| 6c 79 73 69 73 22 20 74 | 6f 20 46 41 4c 53 45 0d |lysis" t|o FALSE.|
|000049a0| 69 66 20 28 78 4d 61 67 | 3d 32 29 20 61 6e 64 20 |if (xMag|=2) and |
|000049b0| 28 79 4d 61 67 3d 31 29 | 20 74 68 65 6e 20 73 65 |(yMag=1)| then se|
|000049c0| 74 20 74 68 65 20 63 68 | 65 63 6b 4d 61 72 6b 20 |t the ch|eckMark |
|000049d0| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 22 5a 6f 6f |of menuI|tem "Zoo|
|000049e0| 6d 20 58 20 6f 6e 6c 79 | 22 20 69 6e 20 6d 65 6e |m X only|" in men|
|000049f0| 75 20 22 41 6e 61 6c 79 | 73 69 73 22 20 74 6f 20 |u "Analy|sis" to |
|00004a00| 54 52 55 45 0d 65 6c 73 | 65 20 69 66 20 28 78 4d |TRUE.els|e if (xM|
|00004a10| 61 67 3d 31 29 20 61 6e | 64 20 28 79 4d 61 67 3d |ag=1) an|d (yMag=|
|00004a20| 32 29 20 74 68 65 6e 20 | 73 65 74 20 74 68 65 20 |2) then |set the |
|00004a30| 63 68 65 63 6b 4d 61 72 | 6b 20 6f 66 20 6d 65 6e |checkMar|k of men|
|00004a40| 75 49 74 65 6d 20 22 5a | 6f 6f 6d 20 59 20 6f 6e |uItem "Z|oom Y on|
|00004a50| 6c 79 22 20 69 6e 20 6d | 65 6e 75 20 22 41 6e 61 |ly" in m|enu "Ana|
|00004a60| 6c 79 73 69 73 22 20 74 | 6f 20 54 52 55 45 0d 65 |lysis" t|o TRUE.e|
|00004a70| 6c 73 65 20 69 66 20 28 | 78 4d 61 67 3d 32 29 20 |lse if (|xMag=2) |
|00004a80| 61 6e 64 20 28 79 4d 61 | 67 3d 32 29 20 74 68 65 |and (yMa|g=2) the|
|00004a90| 6e 20 73 65 74 20 74 68 | 65 20 63 68 65 63 6b 4d |n set th|e checkM|
|00004aa0| 61 72 6b 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |ark of m|enuItem |
|00004ab0| 22 5a 6f 6f 6d 20 58 20 | 26 20 59 22 20 69 6e 20 |"Zoom X |& Y" in |
|00004ac0| 6d 65 6e 75 20 22 41 6e | 61 6c 79 73 69 73 22 20 |menu "An|alysis" |
|00004ad0| 74 6f 20 54 52 55 45 0d | 65 6e 64 20 75 70 64 61 |to TRUE.|end upda|
|00004ae0| 74 65 5a 6f 6f 6d 43 68 | 65 63 6b 73 0d 0d 6f 6e |teZoomCh|ecks..on|
|00004af0| 20 67 65 74 4d 61 78 50 | 6c 6f 74 50 74 73 0d 67 | getMaxP|lotPts.g|
|00004b00| 6c 6f 62 61 6c 20 6d 61 | 78 50 6c 6f 74 50 6f 69 |lobal ma|xPlotPoi|
|00004b10| 6e 74 73 0d 61 73 6b 20 | 22 45 6e 74 65 72 20 6e |nts.ask |"Enter n|
|00004b20| 75 6d 62 65 72 20 6f 66 | 20 70 6f 69 6e 74 73 20 |umber of| points |
|00004b30| 74 6f 20 62 65 20 64 72 | 61 77 6e 20 69 6e 20 64 |to be dr|awn in d|
|00004b40| 69 73 70 6c 61 79 20 77 | 69 6e 64 6f 77 73 3a 22 |isplay w|indows:"|
|00004b50| 20 77 69 74 68 20 6d 61 | 78 50 6c 6f 74 50 6f 69 | with ma|xPlotPoi|
|00004b60| 6e 74 73 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |nts.if t|he resul|
|00004b70| 74 20 69 73 20 22 43 61 | 6e 63 65 6c 22 20 74 68 |t is "Ca|ncel" th|
|00004b80| 65 6e 20 65 78 69 74 20 | 67 65 74 4d 61 78 50 6c |en exit |getMaxPl|
|00004b90| 6f 74 50 74 73 0d 70 75 | 74 20 69 74 20 69 6e 74 |otPts.pu|t it int|
|00004ba0| 6f 20 6d 61 78 50 6c 6f | 74 50 6f 69 6e 74 73 0d |o maxPlo|tPoints.|
|00004bb0| 52 65 70 6c 6f 74 57 61 | 76 65 0d 65 6e 64 20 67 |ReplotWa|ve.end g|
|00004bc0| 65 74 4d 61 78 50 6c 6f | 74 50 74 73 0d 0d 6f 6e |etMaxPlo|tPts..on|
|00004bd0| 20 54 6f 67 67 6c 65 44 | 6f 74 73 4f 6e 6c 79 0d | ToggleD|otsOnly.|
|00004be0| 67 6c 6f 62 61 6c 20 64 | 6f 74 46 6c 61 67 0d 70 |global d|otFlag.p|
|00004bf0| 75 74 20 6e 6f 74 28 64 | 6f 74 46 6c 61 67 29 20 |ut not(d|otFlag) |
|00004c00| 69 6e 74 6f 20 64 6f 74 | 46 6c 61 67 0d 73 65 74 |into dot|Flag.set|
|00004c10| 20 74 68 65 20 63 68 65 | 63 6b 4d 61 72 6b 20 6f | the che|ckMark o|
|00004c20| 66 20 6d 65 6e 75 49 74 | 65 6d 20 22 44 6f 74 73 |f menuIt|em "Dots|
|00004c30| 20 4f 6e 6c 79 22 20 69 | 6e 20 6d 65 6e 75 20 22 | Only" i|n menu "|
|00004c40| 41 6e 61 6c 79 73 69 73 | 22 20 74 6f 20 64 6f 74 |Analysis|" to dot|
|00004c50| 46 6c 61 67 0d 52 65 70 | 6c 6f 74 57 61 76 65 0d |Flag.Rep|lotWave.|
|00004c60| 65 6e 64 20 54 6f 67 67 | 6c 65 44 6f 74 73 4f 6e |end Togg|leDotsOn|
|00004c70| 6c 79 0d 0d 6f 6e 20 43 | 6f 70 79 41 73 58 59 0d |ly..on C|opyAsXY.|
|00004c80| 67 6c 6f 62 61 6c 20 58 | 43 4d 44 65 72 72 0d 67 |global X|CMDerr.g|
|00004c90| 6c 6f 62 61 6c 20 67 4c | 69 73 74 2c 6c 65 66 74 |lobal gL|ist,left|
|00004ca0| 58 2c 20 72 69 67 68 74 | 58 2c 20 74 6f 70 59 2c |X, right|X, topY,|
|00004cb0| 20 62 6f 74 74 6f 6d 59 | 0d 0d 73 65 74 20 74 68 | bottomY|..set th|
|00004cc0| 65 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |e cursor| to watc|
|00004cd0| 68 0d 43 6f 70 79 58 59 | 74 61 62 6c 65 20 69 74 |h.CopyXY|table it|
|00004ce0| 65 6d 20 31 20 69 6e 20 | 67 4c 69 73 74 2c 6c 65 |em 1 in |gList,le|
|00004cf0| 66 74 58 2c 20 72 69 67 | 68 74 58 2c 20 74 6f 70 |ftX, rig|htX, top|
|00004d00| 59 2c 20 62 6f 74 74 6f | 6d 59 0d 69 66 20 58 43 |Y, botto|mY.if XC|
|00004d10| 4d 44 45 72 72 3d 30 20 | 74 68 65 6e 0d 70 75 74 |MDErr=0 |then.put|
|00004d20| 20 22 57 61 76 65 20 63 | 6f 70 69 65 64 20 74 6f | "Wave c|opied to|
|00004d30| 20 63 6c 69 70 62 6f 61 | 72 64 20 69 6e 20 6e 75 | clipboa|rd in nu|
|00004d40| 6d 65 72 69 63 61 6c 20 | 66 6f 72 6d 61 74 20 61 |merical |format a|
|00004d50| 73 20 58 59 20 70 61 69 | 72 73 2e 22 0d 65 6c 73 |s XY pai|rs.".els|
|00004d60| 65 0d 45 72 72 4e 75 6d | 20 58 43 4d 44 45 72 72 |e.ErrNum| XCMDErr|
|00004d70| 0d 65 6e 64 20 69 66 0d | 73 65 74 20 74 68 65 20 |.end if.|set the |
|00004d80| 63 75 72 73 6f 72 20 74 | 6f 20 62 72 6f 77 73 65 |cursor t|o browse|
|00004d90| 0d 65 6e 64 20 43 6f 70 | 79 41 73 58 59 0d 0d 6f |.end Cop|yAsXY..o|
|00004da0| 6e 20 43 6f 70 79 41 73 | 59 0d 67 6c 6f 62 61 6c |n CopyAs|Y.global|
|00004db0| 20 58 43 4d 44 65 72 72 | 0d 67 6c 6f 62 61 6c 20 | XCMDerr|.global |
|00004dc0| 67 4c 69 73 74 2c 74 6f | 70 59 2c 20 62 6f 74 74 |gList,to|pY, bott|
|00004dd0| 6f 6d 59 0d 0d 73 65 74 | 20 74 68 65 20 63 75 72 |omY..set| the cur|
|00004de0| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 43 6f 70 |sor to w|atch.Cop|
|00004df0| 79 59 74 61 62 6c 65 20 | 69 74 65 6d 20 31 20 69 |yYtable |item 1 i|
|00004e00| 6e 20 67 4c 69 73 74 2c | 74 6f 70 59 2c 20 62 6f |n gList,|topY, bo|
|00004e10| 74 74 6f 6d 59 0d 69 66 | 20 58 43 4d 44 45 72 72 |ttomY.if| XCMDErr|
|00004e20| 3d 30 20 74 68 65 6e 0d | 70 75 74 20 22 57 61 76 |=0 then.|put "Wav|
|00004e30| 65 20 63 6f 70 69 65 64 | 20 74 6f 20 63 6c 69 70 |e copied| to clip|
|00004e40| 62 6f 61 72 64 20 69 6e | 20 6e 75 6d 65 72 69 63 |board in| numeric|
|00004e50| 61 6c 20 66 6f 72 6d 61 | 74 20 61 73 20 59 20 76 |al forma|t as Y v|
|00004e60| 61 6c 75 65 73 2e 22 0d | 65 6c 73 65 0d 45 72 72 |alues.".|else.Err|
|00004e70| 4e 75 6d 20 58 43 4d 44 | 45 72 72 0d 65 6e 64 20 |Num XCMD|Err.end |
|00004e80| 69 66 0d 73 65 74 20 74 | 68 65 20 63 75 72 73 6f |if.set t|he curso|
|00004e90| 72 20 74 6f 20 62 72 6f | 77 73 65 0d 65 6e 64 20 |r to bro|wse.end |
|00004ea0| 43 6f 70 79 41 73 59 0d | 0d 6f 6e 20 43 6f 70 79 |CopyAsY.|.on Copy|
|00004eb0| 41 73 50 49 43 54 0d 2d | 2d 20 63 6f 70 79 20 37 |AsPICT.-|- copy 7|
|00004ec0| 32 20 64 70 69 20 76 65 | 72 73 69 6f 6e 20 6f 66 |2 dpi ve|rsion of|
|00004ed0| 20 77 61 76 65 2c 20 73 | 61 6d 65 20 73 69 7a 65 | wave, s|ame size|
|00004ee0| 20 61 73 20 64 69 73 70 | 52 65 63 74 0d 67 6c 6f | as disp|Rect.glo|
|00004ef0| 62 61 6c 20 58 43 4d 44 | 65 72 72 0d 67 6c 6f 62 |bal XCMD|err.glob|
|00004f00| 61 6c 20 67 4c 69 73 74 | 2c 6c 65 66 74 58 2c 20 |al gList|,leftX, |
|00004f10| 72 69 67 68 74 58 2c 20 | 74 6f 70 59 2c 20 62 6f |rightX, |topY, bo|
|00004f20| 74 74 6f 6d 59 2c 20 62 | 61 73 65 6c 69 6e 65 2c |ttomY, b|aseline,|
|00004f30| 58 75 6e 69 74 2c 59 75 | 6e 69 74 2c 20 64 69 73 |Xunit,Yu|nit, dis|
|00004f40| 70 52 65 63 74 0d 0d 61 | 73 6b 20 22 53 69 7a 65 |pRect..a|sk "Size|
|00004f50| 20 6f 66 20 63 61 6c 20 | 6d 61 72 6b 73 20 28 22 | of cal |marks ("|
|00004f60| 26 58 75 6e 69 74 26 22 | 2c 22 26 59 75 6e 69 74 |&Xunit&"|,"&Yunit|
|00004f70| 26 22 29 3f 22 20 77 69 | 74 68 20 22 30 2c 30 22 |&")?" wi|th "0,0"|
|00004f80| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|00004f90| 73 20 22 43 61 6e 63 65 | 6c 22 20 74 68 65 6e 20 |s "Cance|l" then |
|00004fa0| 65 78 69 74 20 43 6f 70 | 79 41 73 50 49 43 54 0d |exit Cop|yAsPICT.|
|00004fb0| 70 75 74 20 69 74 65 6d | 20 31 20 69 6e 20 69 74 |put item| 1 in it|
|00004fc0| 20 69 6e 74 6f 20 58 63 | 61 6c 0d 70 75 74 20 69 | into Xc|al.put i|
|00004fd0| 74 65 6d 20 32 20 69 6e | 20 69 74 20 69 6e 74 6f |tem 2 in| it into|
|00004fe0| 20 59 63 61 6c 0d 0d 43 | 6f 70 79 50 49 43 54 20 | Ycal..C|opyPICT |
|00004ff0| 69 74 65 6d 20 31 20 69 | 6e 20 67 4c 69 73 74 2c |item 1 i|n gList,|
|00005000| 64 69 73 70 52 65 63 74 | 2c 6c 65 66 74 58 2c 20 |dispRect|,leftX, |
|00005010| 72 69 67 68 74 58 2c 20 | 74 6f 70 59 2c 20 62 6f |rightX, |topY, bo|
|00005020| 74 74 6f 6d 59 2c 20 62 | 61 73 65 6c 69 6e 65 2c |ttomY, b|aseline,|
|00005030| 58 63 61 6c 2c 59 63 61 | 6c 2c 20 58 75 6e 69 74 |Xcal,Yca|l, Xunit|
|00005040| 2c 20 59 75 6e 69 74 0d | 69 66 20 58 43 4d 44 45 |, Yunit.|if XCMDE|
|00005050| 72 72 3d 30 20 74 68 65 | 6e 0d 70 75 74 20 22 57 |rr=0 the|n.put "W|
|00005060| 61 76 65 66 6f 72 6d 20 | 63 6f 70 69 65 64 20 74 |aveform |copied t|
|00005070| 6f 20 63 6c 69 70 62 6f | 61 72 64 20 61 73 20 61 |o clipbo|ard as a|
|00005080| 20 37 32 20 64 70 69 20 | 67 72 61 70 68 69 63 2e | 72 dpi |graphic.|
|00005090| 22 0d 65 6c 73 65 0d 45 | 72 72 4e 75 6d 20 58 43 |".else.E|rrNum XC|
|000050a0| 4d 44 45 72 72 0d 65 6e | 64 20 69 66 0d 52 65 70 |MDErr.en|d if.Rep|
|000050b0| 6c 6f 74 57 61 76 65 0d | 65 6e 64 20 43 6f 70 79 |lotWave.|end Copy|
|000050c0| 41 73 50 49 43 54 0d 0d | 6f 6e 20 43 6f 70 79 41 |AsPICT..|on CopyA|
|000050d0| 73 42 69 67 50 49 43 54 | 0d 2d 2d 20 63 6f 70 79 |sBigPICT|.-- copy|
|000050e0| 20 62 69 67 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 | big ver|sion of |
|000050f0| 77 61 76 65 20 74 6f 20 | 70 72 65 73 65 72 76 65 |wave to |preserve|
|00005100| 20 66 75 6c 6c 20 72 65 | 73 6f 6c 75 74 69 6f 6e | full re|solution|
|00005110| 3b 20 75 73 65 20 67 72 | 61 70 68 69 63 73 20 61 |; use gr|aphics a|
|00005120| 70 70 20 74 6f 20 73 63 | 61 6c 65 20 69 74 20 64 |pp to sc|ale it d|
|00005130| 6f 77 6e 0d 67 6c 6f 62 | 61 6c 20 58 43 4d 44 65 |own.glob|al XCMDe|
|00005140| 72 72 0d 67 6c 6f 62 61 | 6c 20 67 4c 69 73 74 2c |rr.globa|l gList,|
|00005150| 6c 65 66 74 58 2c 20 72 | 69 67 68 74 58 2c 20 74 |leftX, r|ightX, t|
|00005160| 6f 70 59 2c 20 62 6f 74 | 74 6f 6d 59 2c 20 62 61 |opY, bot|tomY, ba|
|00005170| 73 65 6c 69 6e 65 2c 58 | 75 6e 69 74 2c 59 75 6e |seline,X|unit,Yun|
|00005180| 69 74 0d 0d 70 75 74 20 | 34 30 39 36 20 69 6e 74 |it..put |4096 int|
|00005190| 6f 20 6e 56 65 72 74 65 | 78 20 20 2d 2d 20 6d 61 |o nVerte|x -- ma|
|000051a0| 78 0d 61 73 6b 20 22 4e | 75 6d 62 65 72 20 6f 66 |x.ask "N|umber of|
|000051b0| 20 76 65 72 74 69 63 65 | 73 3f 22 20 77 69 74 68 | vertice|s?" with|
|000051c0| 20 6e 56 65 72 74 65 78 | 0d 69 66 20 74 68 65 20 | nVertex|.if the |
|000051d0| 72 65 73 75 6c 74 20 69 | 73 20 22 43 61 6e 63 65 |result i|s "Cance|
|000051e0| 6c 22 20 74 68 65 6e 20 | 65 78 69 74 20 43 6f 70 |l" then |exit Cop|
|000051f0| 79 41 73 42 69 67 50 49 | 43 54 0d 70 75 74 20 69 |yAsBigPI|CT.put i|
|00005200| 74 20 69 6e 74 6f 20 6e | 56 65 72 74 65 78 0d 0d |t into n|Vertex..|
|00005210| 61 73 6b 20 22 53 69 7a | 65 20 6f 66 20 63 61 6c |ask "Siz|e of cal|
|00005220| 20 6d 61 72 6b 73 20 28 | 22 26 58 75 6e 69 74 26 | marks (|"&Xunit&|
|00005230| 22 2c 22 26 59 75 6e 69 | 74 26 22 29 3f 22 20 77 |","&Yuni|t&")?" w|
|00005240| 69 74 68 20 22 30 2c 30 | 22 0d 69 66 20 74 68 65 |ith "0,0|".if the|
|00005250| 20 72 65 73 75 6c 74 20 | 69 73 20 22 43 61 6e 63 | result |is "Canc|
|00005260| 65 6c 22 20 74 68 65 6e | 20 65 78 69 74 20 43 6f |el" then| exit Co|
|00005270| 70 79 41 73 42 69 67 50 | 49 43 54 0d 70 75 74 20 |pyAsBigP|ICT.put |
|00005280| 69 74 65 6d 20 31 20 69 | 6e 20 69 74 20 69 6e 74 |item 1 i|n it int|
|00005290| 6f 20 58 63 61 6c 0d 70 | 75 74 20 69 74 65 6d 20 |o Xcal.p|ut item |
|000052a0| 32 20 69 6e 20 69 74 20 | 69 6e 74 6f 20 59 63 61 |2 in it |into Yca|
|000052b0| 6c 0d 0d 67 65 74 20 43 | 6f 70 79 42 69 67 50 49 |l..get C|opyBigPI|
|000052c0| 43 54 20 28 69 74 65 6d | 20 31 20 69 6e 20 67 4c |CT (item| 1 in gL|
|000052d0| 69 73 74 2c 6e 56 65 72 | 74 65 78 2c 6c 65 66 74 |ist,nVer|tex,left|
|000052e0| 58 2c 72 69 67 68 74 58 | 2c 74 6f 70 59 2c 62 6f |X,rightX|,topY,bo|
|000052f0| 74 74 6f 6d 59 2c 62 61 | 73 65 6c 69 6e 65 2c 58 |ttomY,ba|seline,X|
|00005300| 63 61 6c 2c 59 63 61 6c | 2c 58 75 6e 69 74 2c 59 |cal,Ycal|,Xunit,Y|
|00005310| 75 6e 69 74 29 0d 69 66 | 20 58 43 4d 44 45 72 72 |unit).if| XCMDErr|
|00005320| 3d 30 20 74 68 65 6e 0d | 70 75 74 20 22 57 61 76 |=0 then.|put "Wav|
|00005330| 65 66 6f 72 6d 20 63 6f | 70 69 65 64 20 74 6f 20 |eform co|pied to |
|00005340| 63 6c 69 70 62 6f 61 72 | 64 20 61 73 20 61 20 68 |clipboar|d as a h|
|00005350| 69 2d 72 65 73 20 67 72 | 61 70 68 69 63 20 28 22 |i-res gr|aphic ("|
|00005360| 26 20 69 74 20 26 22 20 | 76 65 72 74 69 63 65 73 |& it &" |vertices|
|00005370| 29 2e 22 0d 65 6c 73 65 | 0d 45 72 72 4e 75 6d 20 |).".else|.ErrNum |
|00005380| 58 43 4d 44 45 72 72 0d | 65 6e 64 20 69 66 0d 52 |XCMDErr.|end if.R|
|00005390| 65 70 6c 6f 74 57 61 76 | 65 0d 65 6e 64 20 43 6f |eplotWav|e.end Co|
|000053a0| 70 79 41 73 42 69 67 50 | 49 43 54 0d 0d 6f 6e 20 |pyAsBigP|ICT..on |
|000053b0| 52 65 70 6c 6f 74 57 61 | 76 65 0d 67 6c 6f 62 61 |ReplotWa|ve.globa|
|000053c0| 6c 20 67 4c 69 73 74 2c | 64 69 73 70 52 65 63 74 |l gList,|dispRect|
|000053d0| 2c 6c 65 66 74 58 2c 20 | 72 69 67 68 74 58 2c 20 |,leftX, |rightX, |
|000053e0| 74 6f 70 59 2c 20 62 6f | 74 74 6f 6d 59 2c 20 62 |topY, bo|ttomY, b|
|000053f0| 61 73 65 6c 69 6e 65 2c | 20 58 75 6e 69 74 2c 20 |aseline,| Xunit, |
|00005400| 59 75 6e 69 74 0d 2d 2d | 20 72 65 70 6c 6f 74 20 |Yunit.--| replot |
|00005410| 6f 6e 6c 79 20 69 6e 20 | 73 63 6f 70 65 20 26 20 |only in |scope & |
|00005420| 74 72 61 63 65 20 63 61 | 72 64 73 0d 69 66 20 28 |trace ca|rds.if (|
|00005430| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00005440| 66 20 74 68 69 73 20 63 | 61 72 64 20 69 73 20 22 |f this c|ard is "|
|00005450| 53 63 6f 70 65 22 29 20 | 6f 72 c2 0d 28 74 68 65 |Scope") |or..(the|
|00005460| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00005470| 68 69 73 20 62 67 20 69 | 73 20 22 54 72 61 63 65 |his bg i|s "Trace|
|00005480| 42 67 22 29 20 74 68 65 | 6e 0d 44 72 61 77 57 61 |Bg") the|n.DrawWa|
|00005490| 76 65 43 6f 6f 72 64 73 | 20 67 4c 69 73 74 2c 20 |veCoords| gList, |
|000054a0| 64 69 73 70 52 65 63 74 | 2c 6c 65 66 74 58 2c 20 |dispRect|,leftX, |
|000054b0| 72 69 67 68 74 58 2c 20 | 74 6f 70 59 2c 20 62 6f |rightX, |topY, bo|
|000054c0| 74 74 6f 6d 59 2c 20 62 | 61 73 65 6c 69 6e 65 2c |ttomY, b|aseline,|
|000054d0| 20 58 75 6e 69 74 2c 20 | 59 75 6e 69 74 0d 65 6e | Xunit, |Yunit.en|
|000054e0| 64 20 69 66 0d 65 6e 64 | 20 52 65 70 6c 6f 74 57 |d if.end| ReplotW|
|000054f0| 61 76 65 0d 00 20 69 74 | 20 69 6e 74 6f 20 59 63 |ave.. it| into Yc|
|00005500| 61 6c 0d 0d 67 65 74 20 | 43 6f 70 79 42 69 67 50 |al..get |CopyBigP|
|00005510| 49 43 54 20 28 69 74 65 | 6d 20 31 20 69 6e 20 67 |ICT (ite|m 1 in g|
|00005520| 4c 69 73 74 2c 6e 56 65 | 72 74 65 78 2c 6c 65 66 |List,nVe|rtex,lef|
|00005530| 74 58 2c 72 69 67 68 74 | 58 2c 74 6f 70 59 2c 62 |tX,right|X,topY,b|
|00005540| 6f 74 74 6f 6d 59 2c 62 | 61 73 65 6c 69 6e 65 2c |ottomY,b|aseline,|
|00005550| 58 63 61 6c 2c 59 63 61 | 6c 2c 58 75 6e 69 74 2c |Xcal,Yca|l,Xunit,|
|00005560| 59 75 6e 69 74 29 0d 69 | 66 20 58 43 4d 44 45 72 |Yunit).i|f XCMDEr|
|00005570| 72 3d 30 20 74 68 65 6e | 0d 70 75 74 20 22 57 61 |r=0 then|.put "Wa|
|00005580| 76 65 66 6f 72 6d 20 63 | 6f 70 69 65 64 20 74 6f |veform c|opied to|
|00005590| 20 63 6c 69 70 62 6f 61 | 72 64 20 61 73 20 61 20 | clipboa|rd as a |
|000055a0| 68 69 2d 72 65 73 20 67 | 72 61 70 68 69 63 20 28 |hi-res g|raphic (|
|000055b0| 22 26 20 69 74 20 26 22 | 20 76 65 72 74 69 63 65 |"& it &"| vertice|
|000055c0| 73 29 2e 22 0d 65 6c 73 | 65 0d 45 72 72 4e 75 6d |s).".els|e.ErrNum|
|000055d0| 20 58 43 4d 44 45 72 72 | 0d 65 6e 64 20 69 66 0d | XCMDErr|.end if.|
|000055e0| 52 65 70 6c 6f 74 57 61 | 76 65 0d 65 6e 64 20 43 |ReplotWa|ve.end C|
|000055f0| 6f 70 79 41 73 42 69 67 | 50 49 43 54 0d 0d 6f 6e |opyAsBig|PICT..on|
|00005600| 20 52 65 70 6c 6f 74 57 | 61 76 65 0d 67 6c 6f 62 | ReplotW|ave.glob|
|00005610| 61 6c 20 67 4c 69 73 74 | 2c 64 69 73 70 52 65 63 |al gList|,dispRec|
|00005620| 74 2c 6c 65 66 74 58 2c | 20 72 69 67 68 74 58 2c |t,leftX,| rightX,|
|00005630| 20 74 6f 70 59 2c 20 62 | 6f 74 74 6f 6d 59 2c 20 | topY, b|ottomY, |
|00005640| 62 61 73 65 6c 69 6e 65 | 2c 20 58 75 6e 69 74 2c |baseline|, Xunit,|
|00005650| 20 59 75 6e 69 74 0d 2d | 2d 20 72 65 70 6c 6f 74 | Yunit.-|- replot|
|00005660| 20 6f 6e 6c 79 20 69 6e | 20 73 63 6f 70 65 20 26 | only in| scope &|
|00005670| 20 74 72 61 63 65 20 63 | 61 72 64 73 0d 69 66 20 | trace c|ards.if |
|00005680| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00005690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056a0| 00 1b 24 72 00 1b e7 ff | 00 03 04 6e 00 02 c0 b6 |..$r....|...n....|
|000056b0| 00 23 02 3d 00 23 07 eb | 00 03 06 98 00 23 0a e8 |.#.=.#..|.....#..|
|000056c0| 00 23 14 3a 00 22 9b bd | 00 21 46 3e 00 20 34 04 |.#.:."..|.!F>. 4.|
|000056d0| 00 20 d0 cc 00 20 1b 80 | 00 20 23 7b 00 02 c4 31 |. ... ..|. #{...1|
|000056e0| 00 1f aa 67 00 0a f9 0f | 00 1b 40 61 00 05 0e e5 |...g....|..@a....|
|000056f0| 00 20 18 87 00 1f e9 41 | 00 0b 1e 34 00 1f ef 85 |. .....A|...4....|
|00005700| 00 1a c8 08 00 21 fa be | 00 1b 2e d8 00 05 3b 95 |.....!..|......;.|
|00005710| 00 19 a7 be 00 19 6e 62 | 00 1b 17 fc 00 03 08 d7 |......nb|........|
|00005720| 00 0c 2b a1 00 1b 96 6d | 00 19 aa 11 00 00 00 00 |..+....m|........|
|00005730| 00 19 95 d4 00 00 00 00 | 00 1b 45 91 00 00 00 00 |........|..E.....|
|00005740| 00 0c 46 a6 00 00 00 00 | 00 0b 2a 9e 00 00 00 00 |..F.....|..*.....|
|00005750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 00 00 00 0b 18 d0 | 00 1c 38 fb 00 00 00 00 |........|..8.....|
|00005780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005880| 00 00 00 80 4c 49 53 54 | 00 00 0b b6 00 00 00 00 |....LIST|........|
|00005890| 00 00 00 01 00 00 08 00 | 00 00 00 11 00 48 00 02 |........|.....H..|
|000058a0| 00 11 00 03 20 00 02 f7 | 00 00 00 11 00 00 00 00 |.... ...|........|
|000058b0| 00 00 17 31 00 11 00 00 | 00 00 00 00 00 00 00 00 |...1....|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005900| 00 00 08 00 50 41 47 45 | 00 00 17 31 00 00 00 00 |....PAGE|...1....|
|00005910| 00 00 0b b6 0e 3f d5 bd | 00 00 32 9e e0 5e 93 fb |.....?..|..2..^..|
|00005920| ef 79 73 fe ef 3d 59 ef | 43 ee fe d9 ce 3c ed bf |.ys..=Y.|C....<..|
|00005930| b6 ed c5 9c fd b3 8f 6f | fb df af bf b5 a5 fb f7 |.......o|........|
|00005940| ce f7 9e e9 cb ef fe 7f | 57 67 9d e6 aa fe 33 7c |........|Wg....3||
|00005950| fd f2 6f b3 ee df ff d7 | bb 99 ef fc f8 b7 00 00 |..o.....|........|
|00005960| 00 00 30 a6 a0 02 51 90 | 41 51 54 26 60 2c 0a 29 |..0...Q.|AQT&`,.)|
|00005970| 01 a6 60 11 04 00 a2 c1 | 80 24 11 14 21 92 80 09 |..`.....|.$..!...|
|00005980| 09 08 a2 89 00 04 78 81 | 82 80 00 29 41 a9 18 e2 |......x.|...)A...|
|00005990| 00 23 9d 40 08 20 00 00 | 10 10 26 90 00 40 48 12 |.#.@. ..|..&..@H.|
|000059a0| 48 00 04 16 00 80 40 00 | 00 00 2c d4 a0 00 40 00 |H.....@.|..,...@.|
|000059b0| 80 01 00 11 03 00 00 20 | 40 00 00 80 25 00 80 00 |....... |@...%...|
|000059c0| 80 10 9c 00 30 00 00 68 | 1c 08 08 26 20 00 04 01 |....0..h|...& ...|
|000059d0| 00 00 10 00 20 04 00 46 | 24 00 04 80 00 00 0c 00 |.... ..F|$.......|
|000059e0| 00 20 00 00 00 02 21 08 | 00 00 08 04 02 80 40 00 |. ....!.|......@.|
|000059f0| 00 00 2a 11 a0 00 40 aa | ed 28 03 10 61 4a 19 c8 |..*...@.|.(..aJ..|
|00005a00| 45 e9 22 c6 17 e4 91 83 | 91 73 98 ae b0 98 6a 67 |E.".....|.s....jg|
|00005a10| 0b 06 a0 02 20 43 00 13 | 65 8e 5d d9 20 64 a0 52 |.... C..|e.]. d.R|
|00005a20| f9 41 ab 86 38 ae 07 6b | a2 36 00 84 e9 6a da 0e |.A..8..k|.6...j..|
|00005a30| 11 d8 51 04 fb 30 80 00 | 00 00 26 fc e0 00 00 82 |..Q..0..|..&.....|
|00005a40| 20 00 00 10 00 00 00 40 | 00 00 00 00 00 00 00 00 | ......@|........|
|00005a50| 00 00 00 00 00 00 00 02 | 02 00 00 00 00 00 00 00 |........|........|
|00005a60| 00 00 00 00 00 00 00 00 | 00 00 20 00 00 00 00 00 |........|.. .....|
|00005a70| 00 02 00 00 20 08 00 00 | 00 00 00 00 00 00 00 00 |.... ...|........|
|00005a80| 00 00 08 72 20 20 83 92 | e0 23 01 74 ea 20 89 20 |...r ..|.#.t. . |
|00005a90| 43 90 18 89 44 00 2d 80 | 92 05 05 32 71 80 0a 00 |C...D.-.|...2q...|
|00005aa0| 49 07 2e 85 10 01 08 20 | 06 00 28 20 21 60 20 76 |I...... |..( !` v|
|00005ab0| 90 03 80 01 20 44 10 00 | c2 22 20 80 01 98 8f 04 |.... D..|." .....|
|00005ac0| 88 90 00 a4 29 00 00 00 | 00 00 22 d8 e0 00 40 80 |....)...|.."...@.|
|00005ad0| 6d 20 03 00 60 4a 11 00 | 44 48 02 46 17 44 81 80 |m ..`J..|DH.F.D..|
|00005ae0| 11 43 18 a8 b0 98 6a 61 | 0a 06 20 00 00 42 00 11 |.C....ja|.. ..B..|
|00005af0| 65 08 1d c9 20 40 a0 52 | b8 40 29 06 28 a6 04 2b |e... @.R|.@).(..+|
|00005b00| a2 30 00 80 e0 02 ca 0a | 10 98 51 04 fa 30 80 00 |.0......|..Q..0..|
|00005b10| 00 00 2e 91 20 00 40 03 | 65 20 06 08 60 4a 11 00 |.... .@.|e ..`J..|
|00005b20| 44 49 02 46 17 44 81 82 | 11 43 1c e8 b0 d8 6a 61 |DI.F.D..|.C....ja|
|00005b30| 08 06 20 00 00 42 00 14 | 65 08 1d c9 00 40 a0 52 |.. ..B..|e....@.R|
|00005b40| b8 60 09 06 28 a6 04 3b | a2 38 04 80 40 00 ca 0a |.`..(..;|.8..@...|
|00005b50| 10 38 41 04 fa 30 a0 00 | 00 00 29 6d 20 00 40 00 |.8A..0..|..)m .@.|
|00005b60| 65 20 02 08 60 4a 11 00 | 44 48 02 46 37 44 81 82 |e ..`J..|DH.F7D..|
|00005b70| 11 43 1c a8 b0 98 6a 61 | 08 06 20 00 08 42 05 10 |.C....ja|.. ..B..|
|00005b80| 65 08 1d c9 04 40 a0 52 | b8 40 09 06 28 a6 04 3b |e....@.R|.@..(..;|
|00005b90| a2 34 00 80 40 00 ea 0a | 10 38 41 04 fa 30 80 00 |.4..@...|.8A..0..|
|00005ba0| 00 00 09 ff 20 10 40 08 | 65 a0 02 08 60 6e 91 03 |.... .@.|e...`n..|
|00005bb0| 4c 58 02 46 97 4c a1 82 | 11 67 1c e9 b0 98 6a 61 |LX.F.L..|.g....ja|
|00005bc0| 28 86 20 20 08 62 80 10 | 65 08 1d e9 08 60 a0 52 |(. .b..|e....`.R|
|00005bd0| b8 40 09 06 29 a6 04 3b | a2 71 00 88 61 00 cb 0a |.@..)..;|.q..a...|
|00005be0| 12 58 41 c4 fa 38 80 00 | 00 00 3e fb e0 7f af f7 |.XA..8..|..>.....|
|00005bf0| fb bf ff bb ef ff ef ff | ff ff ff ff ff ff fd ff |........|........|
|00005c00| 3f f7 fe ff ff ff ff ff | ff ff ff dd fb 7f ff ff |?.......|........|
|00005c10| fe ff ff ff ff fd fc ff | 7f ff ff ff ff ff ff ff |........|........|
|00005c20| ff fd ff ff ff ff bf bf | ff ff ff ff ef ff f0 00 |........|........|
|00005c30| 00 00 1d 41 e0 00 00 80 | 24 00 00 00 00 00 00 40 |...A....|$......@|
|00005c40| 00 00 00 40 00 00 00 00 | 00 00 00 00 00 00 00 00 |...@....|........|
|00005c50| 00 00 20 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.. .....|........|
|00005c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 40 00 00 |........|.....@..|
|00005c70| 01 00 00 00 00 00 00 00 | 00 00 1c 87 e0 00 00 a0 |........|........|
|00005c80| 00 00 00 00 01 00 00 00 | 00 00 00 00 00 80 00 01 |........|........|
|00005c90| 00 00 00 00 00 00 00 00 | 02 00 00 00 00 00 00 00 |........|........|
|00005ca0| 00 00 00 10 00 00 00 00 | 00 00 20 00 00 00 00 00 |........|.. .....|
|00005cb0| 00 00 00 00 20 20 00 02 | 00 40 00 00 00 00 00 00 |.... ..|.@......|
|00005cc0| 00 00 15 80 e0 00 00 12 | 10 08 01 10 10 00 42 a0 |........|......B.|
|00005cd0| 01 20 80 00 00 10 00 01 | 00 04 00 00 4a 10 02 02 |. ......|....J...|
|00005ce0| 02 00 00 00 00 80 00 28 | 00 00 00 10 01 01 00 20 |.......(|....... |
|00005cf0| 30 80 20 00 00 20 00 80 | 80 02 00 00 24 18 00 16 |0. .. ..|....$...|
|00005d00| 00 00 09 40 00 10 00 00 | 00 00 13 04 a0 08 00 88 |...@....|........|
|00005d10| 81 00 54 00 00 22 00 01 | 00 01 a0 02 10 08 00 00 |..T.."..|........|
|00005d20| 80 20 10 00 00 00 00 08 | 02 00 80 00 80 04 08 00 |. ......|........|
|00005d30| 00 a4 10 50 00 48 40 00 | c2 00 80 14 10 60 02 40 |...P.H@.|.....`.@|
|00005d40| 00 80 22 04 00 28 58 08 | 20 20 00 02 09 10 40 00 |.."..(X.| ....@.|
|00005d50| 00 00 12 3e a0 7f f9 ff | df ff ff ff bf ff fb ff |...>....|........|
|00005d60| ff ff 7f df dd ff bf ff | ff ef ff fb fb fe ef fd |........|........|
|00005d70| cf ff ef ff ff ff db ff | ff ff fe ff fd ff ff ff |........|........|
|00005d80| ff fd bf df 7f fe bf df | fa b5 ff ff ff fe fd df |........|........|
|00005d90| ff ff ff ff ff fb e0 00 | 00 00 21 be a0 6f ed fe |........|..!..o..|
|00005da0| fb ff e7 f3 ff bf f9 b7 | 7b e7 3b 7f e7 7e ff 9e |........|{.;..~..|
|00005db0| bf bf fb ff f6 ff ef ff | ff fe 7f f5 7f fe ef bf |........|........|
|00005dc0| fd f3 ff ff df bd fb ff | ef 7b ff ff 75 df f9 d7 |........|.{..u...|
|00005dd0| ff ef ff fe cb fc ef ff | df fb e5 fd a7 ff f0 00 |........|........|
|00005de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006100| 00 00 00 40 42 4b 47 44 | 00 00 0a 6e 00 00 00 00 |...@BKGD|...n....|
|00006110| 00 00 0e 98 00 00 00 00 | 00 00 00 09 00 00 27 d7 |........|......'.|
|00006120| 00 00 1e 34 00 00 00 07 | 00 00 00 00 00 00 00 00 |...4....|........|
|00006130| 00 00 48 6f 6d 65 43 61 | 72 64 42 67 00 00 00 00 |..HomeCa|rdBg....|
|00006140| 00 00 00 40 42 4d 41 50 | 00 00 0e 98 00 00 00 00 |...@BMAP|........|
|00006150| 00 00 00 00 00 01 00 00 | 00 00 00 00 01 88 02 80 |........|........|
|00006160| 00 00 00 00 01 88 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00006170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006180| 00 00 40 c0 42 4b 47 44 | 00 00 27 d7 00 00 00 00 |..@.BKGD|..'.....|
|00006190| 00 00 1b e5 00 00 00 00 | 00 00 00 02 00 00 23 95 |........|......#.|
|000061a0| 00 00 0a 6e 00 10 00 46 | 00 00 24 1a 00 01 00 00 |...n...F|..$.....|
|000061b0| 00 06 00 28 00 01 02 01 | 00 04 00 29 00 15 00 47 |...(....|...)...G|
|000061c0| 00 00 00 00 00 00 00 01 | 00 03 00 0c 00 00 00 10 |........|........|
|000061d0| 52 6f 6f 74 4e 6f 00 00 | 00 00 00 2a 00 02 02 09 |RootNo..|...*....|
|000061e0| 00 04 00 5c 00 15 00 7a | 00 00 00 00 00 00 00 01 |...\...z|........|
|000061f0| 00 03 00 0c 00 00 00 10 | 52 6f 6f 74 54 6f 74 61 |........|RootTota|
|00006200| 6c 00 00 00 00 28 00 04 | 02 01 00 15 00 3a 00 26 |l....(..|.....:.&|
|00006210| 00 99 00 00 00 00 00 00 | 00 00 00 03 00 0c 00 00 |........|........|
|00006220| 00 10 43 72 65 61 74 65 | 64 00 00 00 00 2e 00 05 |..Create|d.......|
|00006230| 02 00 00 77 00 04 01 84 | 01 df 00 07 00 00 00 00 |...w....|........|
|00006240| 00 00 00 04 00 09 00 00 | 00 0c 63 6f 6d 6d 65 6e |........|..commen|
|00006250| 74 46 69 65 6c 64 00 00 | 00 00 00 d0 00 06 01 00 |tField..|........|
|00006260| 01 3e 01 e5 01 6a 02 1d | a0 02 00 00 03 f6 00 01 |.>...j..|........|
|00006270| 00 00 00 0c 00 00 00 10 | 50 72 65 76 20 52 6f 6f |........|Prev Roo|
|00006280| 74 00 00 6f 6e 20 6d 6f | 75 73 65 55 70 0d 70 75 |t..on mo|useUp.pu|
|00006290| 74 20 66 69 65 6c 64 20 | 22 52 6f 6f 74 4e 6f 22 |t field |"RootNo"|
|000062a0| 20 69 6e 74 6f 20 74 68 | 69 73 52 6f 6f 74 20 20 | into th|isRoot |
|000062b0| 2d 2d 20 66 69 72 73 74 | 20 72 6f 6f 74 20 69 73 |-- first| root is|
|000062c0| 20 6f 6e 20 32 6e 64 20 | 6c 69 6e 65 0d 67 65 74 | on 2nd |line.get|
|000062d0| 20 6c 69 6e 65 20 74 68 | 69 73 52 6f 6f 74 20 6f | line th|isRoot o|
|000062e0| 66 20 63 61 72 64 20 66 | 69 65 6c 64 20 22 72 6f |f card f|ield "ro|
|000062f0| 6f 74 4c 69 73 74 22 20 | 6f 66 20 63 61 72 64 20 |otList" |of card |
|00006300| 22 48 6f 6d 65 43 61 72 | 64 22 0d 67 6f 20 74 6f |"HomeCar|d".go to|
|00006310| 20 63 61 72 64 20 69 64 | 20 69 74 0d 65 6e 64 20 | card id| it.end |
|00006320| 6d 6f 75 73 65 55 70 0d | 00 00 00 84 00 08 01 00 |mouseUp.|........|
|00006330| 01 6e 02 08 01 85 02 1f | 20 02 00 00 3b af 00 01 |.n......| ...;...|
|00006340| 00 00 00 0c 00 00 00 10 | 54 72 61 63 65 20 31 00 |........|Trace 1.|
|00006350| 00 6f 6e 20 6d 6f 75 73 | 65 55 70 0d 67 65 74 20 |.on mous|eUp.get |
|00006360| 6c 69 6e 65 20 32 20 6f | 66 20 66 69 65 6c 64 20 |line 2 o|f field |
|00006370| 22 74 72 61 63 65 4c 69 | 73 74 22 20 20 2d 2d 20 |"traceLi|st" -- |
|00006380| 66 69 72 73 74 20 74 72 | 61 63 65 20 69 64 0d 67 |first tr|ace id.g|
|00006390| 6f 20 74 6f 20 63 61 72 | 64 20 69 64 20 69 74 0d |o to car|d id it.|
|000063a0| 65 6e 64 20 6d 6f 75 73 | 65 55 70 0d 00 00 00 2c |end mous|eUp....,|
|000063b0| 00 0d 02 01 00 25 00 3a | 00 36 00 64 00 00 00 00 |.....%.:|.6.d....|
|000063c0| 00 00 00 00 00 03 00 0c | 00 00 00 10 74 72 61 63 |........|....trac|
|000063d0| 65 54 6f 74 61 6c 00 00 | 00 00 00 e2 00 14 02 00 |eTotal..|........|
|000063e0| 00 50 00 04 00 62 01 61 | 00 02 00 00 00 00 00 00 |.P...b.a|........|
|000063f0| 00 03 00 0c 00 00 00 10 | 74 69 74 6c 65 46 69 65 |........|titleFie|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.